How about reading on the capacity of battery via 'dumpsys battery'? I
think the battery lifetime can be monitored  by logging periodic
readings on the current battery level. Is there any Android
application showing the battery lifetime (or power consumption on
system level or application level)?

Jongkeun

On Jan 8, 4:13 pm, Mark K <mark.ka...@gmail.com> wrote:
>   There's no way to query thepowerstate directly that I know of, but
> you can have a receiver receive the intent 'ACTION_BATTERY_CHANGED'
> which should be thrown when the battery state changes.
>
>                             Mark
>
> On Jan 6, 11:29 pm, "xroge...@gmail.com" <xroge...@gmail.com> wrote:
>
> > I couldn't find some stuff aboutpowermeasurement/managementin
> >Android/G1. I wonder ifAndroidapplication can accesspowerrelated
> > values like current battery drain rate, orAndroidkernel supports
> > ACPI. Is there any reference or document for those things?
>
> > Thanks.
--~--~---------~--~----~------------~-------~--~----~
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
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to