Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does anyone know how often Android refreshes battery statistics? This screen is Settings > Battery. This may only apply to Android versions >4.0.

share|improve this question
final: it took me 1 minute to get my app visible in the list – deadfish Nov 21 '12 at 12:24
up vote 1 down vote accepted

I believe it is real-time. Meaning, the stats are always updated as the battery is being drained (or charged).

share|improve this answer
To my knowledge it is. And the term "battery stats" might be a bit misleading here -- it's rather a statistic on how/which apps "sucked on it" ;) – Izzy Nov 20 '12 at 11:56

You can check the source code of battery history and battery history part of Settings. I hadn't got time to properly check it out, but from an initial scan, I think it's updated every time the app is started. The file from which the app generates the statistic however, batterystats.bin, is probably collected at real time as the system starts and kills apps and system services are turned on and off.

share|improve this answer
first link says at line 323 Returns the total time (in 1/100 sec) spent executing in user code. I think this is it, right? – deadfish Nov 22 '12 at 10:44
@Lumma: I believe that's referring to real/user/sys time – Lie Ryan Nov 22 '12 at 11:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.