Tuesday, November 20, 2012

Re: [android-developers] Monitor Energy

If you need this information on demand, call registerReceiver(null,
new IntentFilter(Intent.ACTION_BATTERY_CHANGED)) and examine the
resulting Intent. There will be extras (keys are defined on
BatteryManager) for that info.

On Mon, Nov 19, 2012 at 4:24 PM, Rodolfo Ramos <rodolfoclass@gmail.com> wrote:
> Hello everybody, I need to monitor changes in battery Android 1.5. But the
> instructions I found on the android site, found nothing for the 1.5. Does
> anyone have any information. I need to know if the phone is connected to
> power or not.
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Localized Android Question-and-Answer Sites: http://www.andglobe.com

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate