FORUMS
Remove All Ads from XDA

[How-to] Wipe your battery stats

430 posts
Thanks Meter: 52
 
By pakalrtb, Senior Member on 5th January 2011, 05:13 PM
Post Reply Email Thread
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_
The Following 4 Users Say Thank You to pakalrtb For This Useful Post: [ View ] Gift pakalrtb Ad-Free
 
 
12th February 2011, 04:26 PM |#2  
Junior Member
Thanks Meter: 0
 
More
nice share bro thanks.
15th August 2011, 09:06 AM |#3  
Member
Thanks Meter: 4
 
More
Thanks a lot! This solved battery drain issue after flashing Overcome Kratos!
15th August 2011, 05:23 PM |#4  
Senior Member
Texas, USA and Toronto,Canada
Thanks Meter: 60
 
More
I don't think it is necessary to wipe battery stats.
I changed my rom, battery life is pretty good!
16th August 2011, 12:34 AM |#5  
Manuele83's Avatar
Member
Flag Rome
Thanks Meter: 10
 
More
Thx, useful!
16th August 2011, 01:25 AM |#6  
Senior Member
Flag Puchong
Thanks Meter: 51
 
More
There is a wipe battery stat in recovery

Sent from my GT-P1000 using XDA App
16th August 2011, 07:55 AM |#7  
Junior Member
Thanks Meter: 3
 
More
This is great and i will definitely give it a go. Very handy indeed.
16th August 2011, 09:40 AM |#8  
Member
Thanks Meter: 4
 
More
Quote:
Originally Posted by cgigate

I don't think it is necessary to wipe battery stats.
I changed my rom, battery life is pretty good!

After wyping tab run more than 3 days.
19th August 2011, 03:56 PM |#9  
ryn888's Avatar
Senior Member
Flag Manila, PH
Thanks Meter: 31
 
More
Quote:
Originally Posted by andrisd

Thanks a lot! This solved battery drain issue after flashing Overcome Kratos!

Same here bro. Im not into a root tab anymore.

Sent from my GT-P1000 using Tapatalk
21st August 2011, 11:17 PM |#10  
Senior Member
Thanks Meter: 6
 
More
Just wondering, your procedure is similar but not identical to others that have been posted, e.g.:
Quote:

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?


Quote:
Originally Posted by pakalrtb

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 !

22nd August 2011, 08:14 AM |#11  
Senior Member
Thanks Meter: 47
 
More
Quote:
Originally Posted by neurocutie

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.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes