If you are developing an Android App and want to get Device Battery Information, then follow this tutorial. It will guide you how to get Battery Status, Battery Information and other details about battery in android.
The battery API is quite impressive, between other things not only can you get a battery’s voltage but you can also get the temperature, status and even an icon representing the current state of the battery.
In this post we’ll make an app that display’s all of the device’s battery information in a text view whenever there is a change of state in the battery.