Debate has waged over the past few years about the batterystats.bin file in Android, and what exactly it is for. There are those who say that in order to calibrate your battery and thus improve your battery life you must delete the file (usually via ClockworkMod Recovery), usually after a new ROM flash. There are others who say that deleting it is not needed and in fact reduces your OS’ ability to utilize your battery effectively. Click past the break for the definitive answer.
droid in order to clear up any myths and misconceptions. Now, she has given us a great, brief, and to the point answer to this question – again via Google+.
Today’s myth debunking:
“The battery indicator in the status/notification bar is a reflection of the batterystats.bin file in the data/system/ directory.”
No, it does not.
This file is used to maintain, across reboots, low-level data about the kinds of operations the device and your apps are doing between battery changes. That is, it is solely used to compute the blame for battery usage shown in the “Battery Use” UI in settings.
That is, it has deeply significant things like “app X held a wake lock for 2 minutes” and “the screen was on at 60% brightness for 10 minutes.”
It has no impact on the current battery level shown to you.
It has no impact on your battery life.
Deleting it is not going to do anything to make your more device more fantastic and wonderful… well, unless you have some deep hatred for seeing anything shown in the battery usage UI. And anyway, it is reset every time you unplug from power with a relatively full charge (thus why the battery usage UI data resets at that point), so this would be a much easier way to make it go away.
I personally have seen this to be true in my Custom ROM flashing days. I have deleted the file thinking things will be helped by doing so, but in all reality a full charge from an almost empty battery via my computer’s USB port ALWAYS is the reason my battery life improves.
What about you?