Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Guide] Calibrating Battery {Rooted devices}

OP Joshhayes801

20th April 2012, 08:24 AM   |  #1  
Joshhayes801's Avatar
OP Senior Member
Flag Ogden, UT
Thanks Meter: 100
 
455 posts
Join Date:Joined: Apr 2010
Donate to Me
More
*I had this posted over in the nexus forums and decided to move it over here for you guys to see now that I have this device as well*

I found a guide somewhere on the internet on the best way to calibrate battery stats on a rooted device (to fix incorrect battery reporting after flashing) when I had my old hero and I use it a lot to this day when flashing new roms/kernels so I decided to share the best way to do it here.

Step 1.
First and foremost charge the phone to 100%(Even if it says 100% wait about 5 minutes or so just be sure.)

Step 2.
Once it is at 100% go into data/system using your preferred explorer and delete the batterystats.bin file there.

Step 3.
Unplug the charger and reboot to recovery, wipe cache and dalvik cache and wipe battery stats once more while you're there just to make sure they're gone.

Step 4.
Power the phone down and plug it back in. Charge it to 100% while it's off (the battery bar can be deceiving so even once it shows it's full give it five more minutes or so to be sure) and then power up.


Once it is booted to the OS you should now see that the battery bar is at 100%. If not start back at step 1.

Final step.
It had come to my attention that this phone does not have a smart battery so fully discharging it is not a good idea. However I would recommend discharging it to below 20% before recharging. Thanks to hechoen for the info straight from Samsung.

After that you should have a fully calibrated battery and see correct battery stats.


Everybody enjoy! If this helped you please hit thanks!

*Thanks to whoever it was that wrote this up in the first place. If I knew who it was I would give proper thanks.

Sent from my SGH-T959V using xda premium
Last edited by Joshhayes801; 20th April 2012 at 11:50 PM.
The Following 3 Users Say Thank You to Joshhayes801 For This Useful Post: [ View ]
20th April 2012, 08:43 AM   |  #2  
Account currently disabled
Thanks Meter: 767
 
1,868 posts
Join Date:Joined: Mar 2011
More
https://plus.google.com/105051985738...ts/FV3LVtdVxPT

http://forum.xda-developers.com/show....php?t=1443108
20th April 2012, 09:45 AM   |  #3  
Joshhayes801's Avatar
OP Senior Member
Flag Ogden, UT
Thanks Meter: 100
 
455 posts
Join Date:Joined: Apr 2010
Donate to Me
More
I could care less what that dude says. I know for a fact my battery reporting has gone funky before during flashing and calibrating it fixed it. For instance, it would say 92% and after a reboot it would change to like 94%.

Sent from my SGH-T959V using xda premium
20th April 2012, 09:57 AM   |  #4  
FBis251's Avatar
Recognized Contributor
Thanks Meter: 3,704
 
3,344 posts
Join Date:Joined: Mar 2011
Donate to Me
More
I just realized that this would be a non-issue if you're using any roms that get installed using AROMA since the /data partition gets formatted with ext4, it'll also wipe the batterystats.bin file, assuming you didn't do a data backup/restore.
20th April 2012, 11:00 AM   |  #5  
Joshhayes801's Avatar
OP Senior Member
Flag Ogden, UT
Thanks Meter: 100
 
455 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Quote:
Originally Posted by FBis251

I just realized that this would be a non-issue if you're using any roms that get installed using AROMA since the /data partition gets formatted with ext4, it'll also wipe the batterystats.bin file, assuming you didn't do a data backup/restore.

Ahh. I was unaware of that. Thanks for the info man.

Sent from my SGH-T959V using xda premium
20th April 2012, 02:21 PM   |  #6  
95Z28's Avatar
Senior Member
Thanks Meter: 238
 
722 posts
Join Date:Joined: Apr 2011
Its actually not good on these batteries to drain them fully. If your battery readings start going crazy, such as losing 20% charge after a simple reboot, one simple wipe of the battery stats should fix that.
The whole process of charging fully before wiping, draining, recharging fully ect... isn't necessary.
I simply wipe stats once (at whatever my current charge is) and go on my way.

Sent from my SGH-T959V using xda premium
20th April 2012, 07:10 PM   |  #7  
Account currently disabled
Thanks Meter: 767
 
1,868 posts
Join Date:Joined: Mar 2011
More
Quote:
Originally Posted by Joshhayes801

I could care less what that dude says. I know for a fact my battery reporting has gone funky before during flashing and calibrating it fixed it. For instance, it would say 92% and after a reboot it would change to like 94%.

Sent from my SGH-T959V using xda premium

Read through the comments there is some good info. Also this "dude" has boobs so Im sure SHE would rather be called dudette. One more thing, shes also one of the lead programmers on the Android Project.
20th April 2012, 08:09 PM   |  #8  
Joshhayes801's Avatar
OP Senior Member
Flag Ogden, UT
Thanks Meter: 100
 
455 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Quote:
Originally Posted by eollie

Read through the comments there is some good info. Also this "dude" has boobs so Im sure SHE would rather be called dudette. One more thing, shes also one of the lead programmers on the Android Project.

Word

Sent from my SGH-T959V using xda premium
20th April 2012, 08:36 PM   |  #9  
Account currently disabled
Thanks Meter: 1,412
 
2,660 posts
Join Date:Joined: May 2011
Just got off the phone with Samsung to find out whether or not this battery has a fuel gauge chip and it does not. I've assumed for a long time that it was a smart battery and I was wrong. So fully discharging is a bad idea as there is no chip to reset. As far as resetting the battery stats it won't have an effect on life but may correct reporting errors. I personally used to wipe it and then stopped. I have noticed no difference either way.

http://batteryuniversity.com/learn/a...ased_batteries
The Following 2 Users Say Thank You to hechoen For This Useful Post: [ View ]
20th April 2012, 11:47 PM   |  #10  
Joshhayes801's Avatar
OP Senior Member
Flag Ogden, UT
Thanks Meter: 100
 
455 posts
Join Date:Joined: Apr 2010
Donate to Me
More
Quote:
Originally Posted by hechoen

Just got off the phone with Samsung to find out whether or not this battery has a fuel gauge chip and it does not. I've assumed for a long time that it was a smart battery and I was wrong. So fully discharging is a bad idea as there is no chip to reset. As far as resetting the battery stats it won't have an effect on life but may correct reporting errors. I personally used to wipe it and then stopped. I have noticed no difference either way.

http://batteryuniversity.com/learn/a...ased_batteries

Very useful information. Thank you. I will edit the op to reflect this information.

Sent from my SGH-T959V using xda premium

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes