3

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.

user1491060
  • 31
  • 1
  • 3

2 Answers2

3

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

Fran Verona
  • 5,438
  • 6
  • 46
  • 85
0

This post might be help full look at that Battery Level Also look into this link Battery Level and State

Community
  • 1
  • 1
Andy
  • 123
  • 1
  • 1
  • 12