问题
Is there a way to detect a low battery notification in android eclipse?I have an action game that needs to be paused when it appears.
回答1:
There is a tutorial in the official developers web about monitoring the battery level and charging state. I hope it helps you.
http://developer.android.com/training/monitoring-device-state/battery-monitoring.html
回答2:
This post might be help full look at that Battery Level Also look into this link Battery Level and State
来源:https://stackoverflow.com/questions/11361584/android-way-of-detecting-low-battery-notification