The answer is in Settings/BatteryInfo, thanks to Ian for pointing out
its existence. ACTION_BATTERY_CHANGED carries various undocumented
(thanks Google) extras, including "level". Not sure what "scale" means
though, but it's a good start.

Denis

On Nov 5, 12:12 am, denismo <[EMAIL PROTECTED]> wrote:
> Where can I get that AnyCut, preferably with the source code?
>
> Thanks.
>
> Denis
>
> On Nov 4, 11:04 pm, Ian <[EMAIL PROTECTED]> wrote:
>
> > By installing AnyCut, I was able to add a shortcut to "Battery info".
> > This gave me a whole load of info I have not seen via any other menu option!
> > (Makes me wonder what other goodies are hidden away!)
>
> > IV
>
> > 2008/11/4 denismo <[EMAIL PROTECTED]>:
>
> > > Hi,
>
> > > for tuning power consumption of my application I need to be able to
> > > estimate how much it consumes power in, say, 1 hour. I will then try
> > > different strategies and experiment with parameters in order to reduce
> > > power consumption. Is it possible to implement something like this on
> > > Android?  Is it possible to get exact battery level value as a number?
>
> > > Thanks.
>
> > > Denis
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to