[android-developers] Re: Exact Battery level value

2008-11-04 Thread Peli
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]> wro

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
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

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
AnyCut is available in the Market. But its not AnyCut that is giving you the extra battery info, it is only providing you with a shortcut to a Android app that displays the battery info. So that code must be somewhere in the android code base! IV 2008/11/4 denismo <[EMAIL PROTECTED]>: > > Wher

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Jean-Baptiste Queru
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, includ

[android-developers] Re: Exact Battery level value

2008-11-04 Thread denismo
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]> wro

[android-developers] Re: Exact Battery level value

2008-11-04 Thread denismo
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 wonde

[android-developers] Re: Exact Battery level value

2008-11-04 Thread Ian
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 applic