Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,957 Members 38,457 Now Online
XDA Developers Android and Mobile Development Forum

[Guide] Calibrating Battery {Rooted devices}

Tip us?
 
Joshhayes801
Old
(Last edited by Joshhayes801; 20th April 2012 at 10:50 PM.)
#1  
Joshhayes801's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 451
Join Date: Apr 2010
Location: Ogden, UT

 
DONATE TO ME
Default [Guide] Calibrating Battery {Rooted devices}

*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
The Pen is mightier then the sword but you must ALWAYS have a sword for when the pen fails.
The Following 3 Users Say Thank You to Joshhayes801 For This Useful Post: [ Click to Expand ]
 
eollie
Old
#2  
Account currently disabled
Thanks Meter 766
Posts: 1,868
Join Date: Mar 2011
https://plus.google.com/105051985738...ts/FV3LVtdVxPT

http://forum.xda-developers.com/show....php?t=1443108
 
Joshhayes801
Old
#3  
Joshhayes801's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 451
Join Date: Apr 2010
Location: Ogden, UT

 
DONATE TO ME
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
The Pen is mightier then the sword but you must ALWAYS have a sword for when the pen fails.
 
FBis251
Old
#4  
FBis251's Avatar
Recognized Contributor
Thanks Meter 3633
Posts: 3,289
Join Date: Mar 2011

 
DONATE TO ME
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.
 
Joshhayes801
Old
#5  
Joshhayes801's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 451
Join Date: Apr 2010
Location: Ogden, UT

 
DONATE TO ME
Quote:
Originally Posted by FBis251 View Post
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
The Pen is mightier then the sword but you must ALWAYS have a sword for when the pen fails.
 
95Z28
Old
#6  
95Z28's Avatar
Senior Member
Thanks Meter 235
Posts: 720
Join Date: 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
 
eollie
Old
#7  
Account currently disabled
Thanks Meter 766
Posts: 1,868
Join Date: Mar 2011
Quote:
Originally Posted by Joshhayes801 View Post
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.
 
Joshhayes801
Old
#8  
Joshhayes801's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 451
Join Date: Apr 2010
Location: Ogden, UT

 
DONATE TO ME
Quote:
Originally Posted by eollie View Post
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
The Pen is mightier then the sword but you must ALWAYS have a sword for when the pen fails.
 
hechoen
Old
#9  
Account currently disabled
Thanks Meter 1411
Posts: 2,660
Join Date: 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: [ Click to Expand ]
 
Joshhayes801
Old
#10  
Joshhayes801's Avatar
Senior Member - OP
Thanks Meter 100
Posts: 451
Join Date: Apr 2010
Location: Ogden, UT

 
DONATE TO ME
Quote:
Originally Posted by hechoen View Post
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
The Pen is mightier then the sword but you must ALWAYS have a sword for when the pen fails.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Google Chromecast Rootable Once Again!

Over the six months, theGoogle Chromecasthas gained a considerable amount of official functionality. … more

YAATA isn’t Just Another Android Texting App

Although our mobile devices today are capable of executingnearly every task we normally … more

MacroDroid Update Brings Android Wear Automation

A few months ago, we talked about MacroDroid. For those who don’t remember, MacroDroid … more

Droid X Receives KitKat Port, Upcoming Google Glass Firmware Improvements – XDA Developer TV

Android 4.4.3 lands on the European HTC … more