4

can anybody tell How to find out usage of battery in my application in android

Tofeeq Ahmad
  • 11,935
  • 4
  • 61
  • 87
kumar
  • 645
  • 2
  • 14
  • 24

2 Answers2

0

The documentation says you can register for a change event on the battery state.

You can see it at the following location:

http://developer.android.com/reference/android/content/Intent.html#ACTION_BATTERY_CHANGED

Nicolas Modrzyk
  • 13,961
  • 2
  • 36
  • 40
0

You can get the battery info using BatteryManager.

Check out this Battery Info link.

Raghu Nagaraju
  • 3,278
  • 1
  • 18
  • 25