[How-to] Wipe your battery stats

Search This thread

pakalrtb

Senior Member
Jan 23, 2010
431
53
Roatan - Bay Islands
Since there is no such option in the recovery menu, I thought it would be useful to let you know how to reset your battery stats. It comes handy every now and then in order to calibrate the battery meter. IT'S IN NO WAY a magic formula to improve your battery life, but it's beneficial after a series of ROMs flashing or several charges cicles.

You need to be rooted :
1) drain your battery completed until the tab shuts down
2) charge your tab ( with the tab OFF ) completely
3) turn the tab ON (still with the charger connected ) and run Root Explorer
4) go to : /data/system/batterystats.bin and delete batterystats.bin
5) turn the tab OFF
6) disconnect from the charger
7) turn the tab ON
DONE !

If you do not have Root Explorer you can use the Terminal app of your choice :
1) drain your battery completed until the tab shuts down
2) charge your tab ( with the tab OFF ) completely
3) turn the tab ON (still with the charger connected ) and run the Terminal App
4) type the command : rm /data/system/batterystats.bin
5) turn the tab OFF
6) disconnect from the charger
7) turn the tab ON
DONE !

P_
 

neurocutie

Senior Member
Apr 3, 2007
170
6
Just wondering, your procedure is similar but not identical to others that have been posted, e.g.:
1. Power off your phone and charge it until the indicator turns green.

2. Boot to recovery mode and go to console (or adb shell) and type:

mount -a [enter]

rm /data/system/batterystats.bin [enter]

3. Reboot the phone and run it until it shuts off by itself. (TIP: Turn your screen brightness all the way up and change the Screen Timeout setting to “Never timeout.” This will drain your battery very quickly.)

4. Recharge the phone completely and then use it as you normally would.
Specifically the ordering of the complete drain and the full charge are reversed. Does it matter?


Since there is no such option in the recovery menu, I thought it would be useful to let you know how to reset your battery stats. It comes handy every now and then in order to calibrate the battery meter. IT'S IN NO WAY a magic formula to improve your battery life, but it's beneficial after a series of ROMs flashing or several charges cicles.

If you do not have Root Explorer you can use the Terminal app of your choice :
1) drain your battery completed until the tab shuts down
2) charge your tab ( with the tab OFF ) completely
3) turn the tab ON (still with the charger connected ) and run the Terminal App
4) type the command : rm /data/system/batterystats.bin
5) turn the tab OFF
6) disconnect from the charger
7) turn the tab ON
DONE !
 

Mjoelnir77

Senior Member
Aug 9, 2011
169
47
Just wondering, your procedure is similar but not identical to others that have been posted, e.g.:
Specifically the ordering of the complete drain and the full charge are reversed. Does it matter?

I also asked myself about that whenever i read such advices. I guess the most important thing is to have the tab recreate the stats file when it is loaded to the max. It will anyway afterwards need some time (read: charging cycles) until everything runs smooth again. But if the new stats file would be created with less than 100% charged then it would never get charged full thereafter.
 

pvtjoker42

Senior Member
Dec 12, 2008
1,302
272
this is a common issue, if you install a rom with less than full battery charge (though going back to stock firmware works at any batt %)
Not all tabs have CWM working to wipe battery stats from the advanced menu or the console. Root explorer/ES File explorer, and the ADB shell option work with stock rooted Tabs no matter if they are GSM/CDMA or have CWM..
Always glad to see good info posted up.
 

wlojar4662

New member
Aug 21, 2011
1
0
Since there is no such option in the recovery menu, I thought it would be useful to let you know how to reset your battery stats. It comes handy every now and then in order to calibrate the battery meter. IT'S IN NO WAY a magic formula to improve your battery life, but it's beneficial after a series of ROMs flashing or several charges cicles.

You need to be rooted :
1) drain your battery completed until the tab shuts down
2) charge your tab ( with the tab OFF ) completely
3) turn the tab ON (still with the charger connected ) and run Root Explorer
4) go to : /data/system/batterystats.bin and delete batterystats.bin
5) turn the tab OFF
6) disconnect from the charger
7) turn the tab ON
DONE !

If you do not have Root Explorer you can use the Terminal app of your choice :
1) drain your battery completed until the tab shuts down
2) charge your tab ( with the tab OFF ) completely
3) turn the tab ON (still with the charger connected ) and run the Terminal App
4) type the command : rm /data/system/batterystats.bin
5) turn the tab OFF
6) disconnect from the charger
7) turn the tab ON
DONE !

P_



Sent from my GT-P1000 using XDA App
 

maxima0002

Member
Apr 4, 2005
42
0
Vancouver, BC
Hi guys,

I'm still new to my SGT.. Wondering is there any way to "reset/re-calibrate" battery without opening the unit (to unplug batt) and or if I don't have my SGT Rooted yet?

Mine is dropping to 3% from 35-40%... without any warning..

Thanks..
 

adomila

Senior Member
Mar 29, 2007
267
1
no batterystats.bin

Hi Guys/Gals,
I envy you :eek: I don't have the batterystats.bin file and I don't have any folders or files inside /data. I also have search the said file in vain. I have the default OS which is 2.2/2.3. Any ideas why is this so? Or is there any other way to totally wipe out the battery stats? TIA(thanks in advance)
 

Edawg79

Member
Mar 3, 2011
7
0
Chicago
Hi Guys/Gals,
I envy you :eek: I don't have the batterystats.bin file and I don't have any folders or files inside /data. I also have search the said file in vain. I have the default OS which is 2.2/2.3. Any ideas why is this so? Or is there any other way to totally wipe out the battery stats? TIA(thanks in advance)

It shouldn't be able to be done on a stock phone...nor should it be needed. You need root to see the data\system folder which contains batterystats.bin
 

nhecas

Senior Member
Sep 30, 2012
68
21
I've read somewhere that wiping your battery stats is useless, because that's what all roms do on reboot... is it true?

Anyways, I've flashed several roms and haven't had any battery issues.
 

JJEgan

Senior Member
Oct 24, 2010
30,509
5,923
Samsung Galaxy Note 3
I've read somewhere that wiping your battery stats is useless, because that's what all roms do on reboot... is it true?

Anyways, I've flashed several roms and haven't had any battery issues.


Multiple posts on the subject .
Wiping battery stats does nothing for your battery .
Recalibration is via the battery itself after a few charges .
Nothing to stop anyone wiping the stats .
But read
http://www.androidcentral.com/wiping-battery-stats-doesnt-improve-battery-life-says-google-engineer

http://xdaforums.com/showthread.php?t=2256038
 

nhecas

Senior Member
Sep 30, 2012
68
21

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    Since there is no such option in the recovery menu, I thought it would be useful to let you know how to reset your battery stats. It comes handy every now and then in order to calibrate the battery meter. IT'S IN NO WAY a magic formula to improve your battery life, but it's beneficial after a series of ROMs flashing or several charges cicles.

    You need to be rooted :
    1) drain your battery completed until the tab shuts down
    2) charge your tab ( with the tab OFF ) completely
    3) turn the tab ON (still with the charger connected ) and run Root Explorer
    4) go to : /data/system/batterystats.bin and delete batterystats.bin
    5) turn the tab OFF
    6) disconnect from the charger
    7) turn the tab ON
    DONE !

    If you do not have Root Explorer you can use the Terminal app of your choice :
    1) drain your battery completed until the tab shuts down
    2) charge your tab ( with the tab OFF ) completely
    3) turn the tab ON (still with the charger connected ) and run the Terminal App
    4) type the command : rm /data/system/batterystats.bin
    5) turn the tab OFF
    6) disconnect from the charger
    7) turn the tab ON
    DONE !

    P_