Search code examples
androidgraphbattery

How create a graph of battery?


I wish create a graph of battery usage in my application..How can i do it? I only want a simple graph not a complicated thing. I've seen about this site http://www.achartengine.org/ but i don't understand how use it.


Solution

  • The last time I needed to draw a graph, I used the GraphView library:

    https://github.com/jjoe64/GraphView

    It's easy to use and you have a demo application here:

    https://github.com/jjoe64/GraphView-Demos

    Try it out and report.