1

Andorid Development: How do I predict expected battery life based on current battery level?

view story
linux-howto

http://stackoverflow.com – I have a requirement of predicting the battery duration from within my android app. I have the cpu data, memory information and current battery level. I have also plotted graphs of these values over the past few minutes using the AndroidPlot library. Using these data (or anything else), what is the best way of predicting the time before the battery runs out on the device? (HowTos)