At least the source code exists:
http://git.source.android.com/?p=platform/packages/apps/Settings.git;a=blob;f=src/com/android/settings/BatteryInfo.java;h=ef60fc35b1f0f80f9bb88cc9d4fc5eaf55e9ef4b;hb=de2d9f5f109265873196f1615e1f3546b114aaa7

:-)

Peli

On Nov 4, 4:24 pm, Ian <[EMAIL PROTECTED]> wrote:
> True.
>
> If its not documented, it must be cool! (joke!)
>
> IV
>
> 2008/11/4 Jean-Baptiste Queru <[EMAIL PROTECTED]>:
>
>
>
> > If it's not documented, you shouldn't rely on it.
>
> > JBQ
>
> > On Tue, Nov 4, 2008 at 5:23 AM, denismo <[EMAIL PROTECTED]> wrote:
>
> >> 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 [email protected]
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