A free program for Android, by Salt.
Simple Battery Graph for Andr is an interactive graph that displays the battery level. You can measure how much energy is consumed per hour. It also shows you the level of charge, so you know when you need to charge your phone.
It allows you to select multiple time frames to view (1 week, 1 month, 1 year, and all).
You can also view and download data for your Android device.
The app supports most Android devices, but it may not work on some devices (such as some tablets) because it needs to access the device's battery in order to display the graph.
If you need help using the app, you can contact the developer by emailing them a screenshot of the problem you are having.