draw a graph according to battery level data from android -


I'm developing an app to show battery information. Whatever possible information form I have taken the batterymanager, and now what I want to do, draw a graph according to the battery level against time. For this, my concept is to monitor the battery level using an Almanman object BT, I do not think it will work! Anyone can help me with a good concept!

To display a graph first you have to listen to the battery level, You have to save with and for more information about monitoring time battery in your database, you can follow this.

After that you can use to create a graph in Android. Use the database value to display the graph.

Comments