Hey guys,
   I've been trying to find the best way to do this, and am running
into some trouble due to lack of documentation.
I'm trying to detect a low battery on Activity startup. If the battery
is low, then I want to display a popup that will not allow the
application to launch, basically killing the app. If the battery is
not low, then I want to proceed as normal.

I keep reading about Intent.ACTION_BATTERY_LOW but am really confused
how to use it for what I need to do.

Any help would be greatly appriciated!
--~--~---------~--~----~------------~-------~--~----~
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