I am aware that the Android OS when calculating time left it cannot really calculate true usage, and an A.I. algorithm that would learn how you use your phone and give better estimations would actually deplete the battery on it's own.

On the other hand though. When giving time left estimations what does it check? Does it check the remaining percentage or the remaining milliamps? Because a phone with 4000 milliamps at 50% will probably have the same battery life left than a phone with 2000 milliamps at 100%

So what does it really check to do the calculations?

  • While I'm not referring to how Android OS calculate remaining battery time, some apps estimate the remaining battery time by "remaining milliamps / average milliamps output/minute" (these info can be requested by any app) – Andrew T. Oct 15 '15 at 6:50
  • I was not aware of that. I thought apps only had access to percentages – John Demetriou Oct 15 '15 at 6:58
  • 3
    Dumping some relevant source codes: BatteryHistoryChart and BatteryStats. The computeBatteryTimeRemaining() method inside BatterStats should be the one who provides this value. Unfortunately, it's abstracted, and I still can't find the implementation of it. – Andrew T. Oct 15 '15 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.