Calibrating your battery and Android

Qazme

Well-known member
May 1, 2010
2,697
26
0
For some of you guys who want to play with this, I decided to do it this morning to see if it changes anything. Long story short if you delete your batterystats.bin and let Android regenerate that file it will start your phone fresh for that bigger battery you got or maybe help you with that stock battery you have been cussing.

Obviously you need root and clockwork recovery installed. Make sure first your battery is fully charged DO NOT DO THIS WITHOUT FULL CHARGE!

1. Reboot your phone into recovery.
2. Mount /system and /data in the partitions menu.
3. Open up a cmd prompt.

Do this just in case you run into any issues which I didn't but better safe than sorry!!

4.
Code:
adb pull /data/system/batterystats.bin batterystats.bin
(This command save the batterystats.bin in the same directory as your adb)

Now to remove the file so the phone can rebuild it.

5.
Code:
adb shell
6.
Code:
rm /data/system/batterystats.bin

After this steps have been completed unmount the system and data partitions. Unplug your usb cable and restart your phone, let it fully boot into Android before you do anything else this way it rebuilds the batterystats.bin with a fresh file. Use your phone to the point it shuts off the phone and let it fully charge with the phone turned off. Then after that use your phone and charge it as normal and report your findings.

Hopefully this may cure some over discharging of batteries, not fully charging batteries, or inaccuracies in your charging profile for your phone. We shall see.
 
I use a 1750 Seidio battery. Since doing this, this morning, I've been off charger for 14hr 3Min 33s and have 37% left on the battery. Normally I would have been on the charger 2 hours ago. So yes so far I am seeing an improvement. We will see if it fully charges etc tomorrow and give it another day.

Now at 16hr 15m 11s with 27% left.
 
Last edited:
Sounds like I'm going to have to try this thanks for the directions and feedback :)
 
Hey it's worth a shot. From what I understand, worst case scenerio you will see no difference. I ended up with a bit over 17 hours put it on charge with 10% left and I played about 30-45 minutes of air control before I did that! So I'm impressed with it.
 
i am new to android so forgive me, but wouldnt loading a new rom replace this file anyways? isnt /data wiped with a new rom i would assume?
 
No it's not. This is where you would normally wipe your phone before you flash the rom of you have 'issues'.

So far after two full days after this wipe my phone went from 14 hours of usage to 17 and has held at 17 with the 1750 battery. So I don't know if it wasn't charging all the way and this fixed it or if I had another issue, but I am seeing better battery life! Jasonb how did your test yesterday go?
 
No it's not. This is where you would normally wipe your phone before you flash the rom of you have 'issues'.

So far after two full days after this wipe my phone went from 14 hours of usage to 17 and has held at 17 with the 1750 battery. So I don't know if it wasn't charging all the way and this fixed it or if I had another issue, but I am seeing better battery life! Jasonb how did your test yesterday go?

i'm STILL working on killing the battery so i can recharge it and see whats up. i tried to kill it last night streaming music and was to tired to keep going. right now i'm tethering on it so it should be finished off in the next hour or so. then i will be charging it back up.

i'll report back as soon as possible.
 
Ok. I killed it and charged it back up. It definitely did not fix the issue where the battery drops instantly. It was down to 94% after about 5 minutes. So for me it seems to have done nothing. I really wasn't expecting it to actually work, so I'm not too upset. So I guess ill continue to rotate through my batteries using my external charger to charge them.
 
Yeah some people it may not have an effect on, which is a good thing meaning you don't have something going on with your charging etc on your phone. Too bad it didn't fix your immediate drop thing, but I believe that's a battery issue. Are you using a stock battery of do you have an extended one?
 
I have two 1500Mah oem htc batteries and the stock one. All of which work perfectly fine with my external battery charger. When I use the external charger I get much much better battery life and I don't get the immediate few percent drop. It's definitely a phone, not battery issue.
 
Yeah that's what the battery calibration could fix for you, 'supposedly'. Not sure if it did or not but my battery life has been better. My battery also didn't drop to begin with right off the charger, but the factory battery did. Maybe I should pull it out and put it in the phone and see what happens.
 
If the phone is unplugged from the charger right when the light turns green you won't see an immediate drop. If you take it off of the charger a half hour after it turns green then it will drop almost instantly. Those were my results before this expirement and after it. This seems to done nothing for me.

My battery life is always good if I use my external charger to charge my batteries, but not if I let the phone charge them.
 
Yeah sucks for sure dude. My phone normally charges overnight on the computer usb with the phone off and I don't experience the drop. Like I said previously I did with my stock battery but not my 1750. Kind of wondering if maybe a week or so of bump charging it may have "fixed" it. Either way seems these phones can be picky from phone to phone and not everyones does the same thing. Ah well thanks for trying it.
 
Yeah sucks for sure dude. My phone normally charges overnight on the computer usb with the phone off and I don't experience the drop. Like I said previously I did with my stock battery but not my 1750. Kind of wondering if maybe a week or so of bump charging it may have "fixed" it. Either way seems these phones can be picky from phone to phone and not everyones does the same thing. Ah well thanks for trying it.

Man, my friend's phone lasts for nearly 3 days with regular use and its unrooted and he has all his widgets/background data/sync running all the time. I am so freaking jealous of him. The only thing he does that I don't do is he lets the battery drain every time (never charges till its around 5%) and then he charges it with the phone off. I've tried this and have not had any luck. I've even swapped batteries with him and with his battery in mine, still drains like crazy, but when he used my battery, it drained slow.

I am bump charging my phone right now before I do this. I've already charged it green while off 4 times in a row now! Thats nearly an extra hour of charging. My battery generally only lasts me 5 hrs with moderate use.
 
Last edited:
Man, my friend's phone lasts for nearly 3 days with regular use and its unrooted and he has all his widgets/background data/sync running all the time. I am so freaking jealous of him. The only thing he does that I don't do is he lets the battery drain every time (never charges till its around 5%) and then he charges it with the phone off. I've tried this and have not had any luck. I've even swapped batteries with him and with his battery in mine, still drains like crazy, but when he used my battery, it drained slow.

I am bump charging my phone right now before I do this. I've already charged it green while off 4 times in a row now! Thats nearly an extra hour of charging. My battery generally only lasts me 5 hrs with moderate use.

Umm yeah. Not trying to be negative about this, but your friend isn't telling you the truth. The stock battery in this phone will not last three days without charging it.

Even HTC's stats are:

Talk time: Up to 313 minutes
Standby time: Up to 146 hours

So if he is talking any amount of time that's only ~5 hours of battery. And also their standby time is adjusted for a phone with radio's off and powered off. And in that instance it will only last about 6 days and that's being very generous. So take that 6 days start using the phone "regularly" and it will not last 3 days sorry. Hell people with the 3500maH batteries don't last 3 days!

I would suggest you tell your friend to quit BSing you and tell the truth because nobody will believe him.

Also ask him to take screenshots of his battery stats page etc because I would LOVE to see this, most people manage to only get 8 hours out of a stock battery and even that's being generous for people who actually use the phone. I got 5 hours stock. You should also let him know killing the battery each time is actually bad for LiPo batteries and will cause them to start dieing. Everything is backwards in your story and indicated to me someone is not telling the truth, stretching the truth etc.
 
Last edited:
Umm yeah. Not trying to be negative about this, but your friend isn't telling you the truth. The stock battery in this phone will not last three days without charging it.

Even HTC's stats are:

Talk time: Up to 313 minutes
Standby time: Up to 146 hours

So if he is talking any amount of time that's only ~5 hours of battery. And also their standby time is adjusted for a phone with radio's off and powered off. And in that instance it will only last about 6 days and that's being very generous. So take that 6 days start using the phone "regularly" and it will not last 3 days sorry. Hell people with the 3500maH batteries don't last 3 days!

I would suggest you tell your friend to quit BSing you and tell the truth because nobody will believe him.

Also ask him to take screenshots of his battery stats page etc because I would LOVE to see this, most people manage to only get 8 hours out of a stock battery and even that's being generous for people who actually use the phone. I got 5 hours stock. You should also let him know killing the battery each time is actually bad for LiPo batteries and will cause them to start dieing. Everything is backwards in your story and indicated to me someone is not telling the truth, stretching the truth etc.

may have overstated. he is at 26 hours of use now, 30% battery left. i checked his batt stats in about and in spare parts.
 
LOL ok yeah that sounds a bit better than 72 hours hehe. What battery does he use?