liwen · Jan 14, 2012 at 07:38 am

Google Engineer Debunks Myth: Wiping Battery Stats Does Not Improve Battery Life

There you have it, in the title. Google engineer Dianne Hackborn, who has previously explained Android’s hardware acceleration, took to Google+ again to clarify some myths about the Android operating system. This time, it’s a point of common advice that you’ll see in virtually every FAQ thread about custom ROMs and flashing: wiping battery stats in order to improve battery life.

The reasoning behind that piece of advice was something like this: If you, at some point, did not charge your Android device fully (for example, only to 80%), it would supposedly remember that battery level as “fully charged” – in this case, you’d only ever get to use 80% of your battery, which is of course less than optimal. So, if you wipe the battery stats, usually done in ClockWord Mod Recovery, the device would “forget” the previous level, here 80%, and instead charge to the full 100% once again, thereby re-calibrating the battery. Or, as Hackborn puts it in more technical terms:

The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory.

However, as she explains, that’s not the case. Because those battery stats, stored in the batterystats.bin file, are only used to maintain information about what is using the battery when not recharging. That is, it essentially holds the information displayed in the Settings > Battery screen. Nothing more, nothing less. Thus:

It has no impact on the current battery level shown to you.

It has no impact on your battery life.

What’s more, you’ve probably noticed that the battery usage data is reset once you recharge your device anyway. From this you can correctly deduce that the battery stats are wiped as well – every time your device is recharged. More or less every day. If there was any effect, you would’ve noticed it without going into recovery and doing that stuff. Typical placebo, eh?


_________
Want something on the XDA Portal? Send us a tip!

liwen

liwen is an editor on XDA-Developers, the largest community for Android users. View liwen's posts and articles here.
Pulser_G2 · May 28, 2015 at 05:52 pm · 2 comments

Devs Beware – Automatic Backup Privacy Risks

One new feature of "Android M" (speculation on potential names welcomed on the back of a postcard) which gained little attention at Google I/O so far was the introduction of a new, automatic backup feature for application data. Obviously, it's still early days yet, though you can download the developer preview (if you're brave!), so we can't be sure of the final implementation, but there are a few gotchas here that developers should be aware of. Automation The first is...

XDA NEWS
Mathew Brack · May 28, 2015 at 05:19 pm · 3 comments

Android M to Bring New App Drawer

It has now been seen that Android M will receive a new app drawer as part of the stock launcher. The first four icons you will see in your drawer now will be automatically updated to represent your recently used applications. Whether or not this will be directly based on those apps seen in your recent apps menu or uses a combination of that and your most frequently used apps remains to be seen. Below this is the start of a standard...

XDA NEWS
Emil Kako · May 28, 2015 at 04:07 pm · 4 comments

Which IO Announcement Are You Most Excited About?

The keynote we had all been waiting for has just ended and it's time to enjoy all the new Android goodies! Google announced tons of awesome new stuff today so there is definitely a lot to check out. Let us know which Google IO announcement you're most excited about and why in the comments below.

DISCUSS
Share This