Search This thread

nickrule1896

Senior Member
Jan 7, 2010
140
28
Having seen so many posts on calibration of battery, i have decided to make this thread so to make it easier and useful for you guys. This thread can also be used to share your experiences with calibration and usage of milestone's battery.
Note: This is done using a the motorola milestone 1. So if you're using any other phone, pls ask abt them in this thread b4 you do anything!!!!

Intro:
The calibration of the battery is needed when you want to switch/install roms. This will make sure that the battery is really fully charged, thus preventing the battery life from dropping too drastically in a matter of hours.

I know there are some other methods to help calibrate your battery, but this is the only one I am sure of the steps. Please inform me of the other methods so to share with everybody.

Steps:

1. Before flashing a new rom, use root explorer (with read/write set) to delete the file "batterystats.bin" stored in /data/system/.



2. Charge your phone with it being turned off.



3. After it is fully charged(100%), take out its battery without plugging off the power supply.



4. Wait for a few moments, and a ? sign will appear.



5. Put your battery back in. You should see that the battery percentage increases quickly to 60%. If it increases to 100% with seconds, please skip to step 6.


6. If it stops increasing at 60%, let the phone continue to charge until 100%(takes quite a while)



7. Once it reaches 100%, let it charge for a further 15-20 minutes.



8. Once that's done, you can boot to OpenRecovery and flash your rom!!!



Alternative way of calibration(thanks a lot zeppelinrox!!!):
http://forum.xda-developers.com/showpost.php?p=11803458&postcount=10

This method allows you to calibrate the battery and use ur phone at the same time!!!





I hope this helps you people, because it really helped me!!!!
Note: i m not responsible for anything bad that happens to ur phone. Perform the calibration at ur own risk!!!(though it should be perfectly fine, unless u do something wrong or extra)
Btw, i am just writing things that i assume to be correct, so if anything needs to be edited/added, pls inform me through this thread or sending me a pm.

Credits to everyone (especially pcphobic for his post in http://forum.xda-developers.com/showpost.php?p=11604143&postcount=740) who have written all these in your posts that made it possible for me to gather and get all this info!!!!!! :)
 
Last edited:

bnwg

Senior Member
Sep 2, 2010
425
64
And it's good to remove/wipe the battery status data with the charger plug-in as the last step.
 

nickrule1896

Senior Member
Jan 7, 2010
140
28
mount -a
rm /data/system/batterystats.bin

For this set of instructions, can the console in the OR be used to perform it?
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,588
IN THE FREAKIN' OP
Calibrating Without Downtime!

Edit: If this doesn't work on your device, try the Die-Hard Battery Calibrator Script to ensure a proper charge

This is proven to work with Motorola Milestone so I would imagine the Droid as well.
It works with the Milestone 2 but you may need to get the phone booted up manually (step 7) instead of the easy reboot in step 6.
If you have a different phone and this works, please let us know!

You probably won't believe that this will work but try it anyway.

The big benefit of doing it this way:
It's great if you don't plan on changing roms and just want to calibrate your battery without downtime so that you can just use your phone as you normally would.

Note: Be sure that the phone isn't running hot (feel the back)

1. While in Android, charge up to 100% and leave the phone plugged in.
2. Delete /data/system/batterystats.bin
3. Remove back cover
4. Press Power and choose to reboot normally.
5. When the screen goes black and the lights go out, pull out the battery before you get the M logo. It will probably still work after the M logo shows up but that's how I do it.

6. Surprise: The phone will boot up without the battery! - Mine does - every time

Note: Batterystats.bin is recreated when you see the M logo - even though the battery isn't in the phone.

Go to Step 8 if the phone booted up as described.

7. If it doesn't boot up and you see the battery with the ?
..........a) Put the battery back in (you will see 60%),
..........b) Power off the phone (press power until LED light goes out)
..........c) Power on the phone (press power until you see the M logo)
..........d) Remove battery... and watch bootanimation...

8. a) After the surprise of seeing the boot animation without a battery, you will then see the lock screen along with a "No SIM card error" and no signal.
...... Put the battery back in - the SIM card error will disappear, you will get a signal, it will show 60% full and the icon will show the battery charging.
...... Go to Step 9 if this works as planned. If it doesn't, reboot (again without the battery) and use step 8b instead of step 8a.
... b) Put the battery back in during the bootanimation, but after the haptic feedback/vibration (and the buttons along the bottom light up).
....... On a normal reboot, you can actually slide and unlock the phone when you get the vibration during the boot animation. You knew that, right? ;)

9. Use your phone normally while you calibrate the battery :D

10. Let it fill it up to 100% + 15 minutes or so. When it is truly finished charging, the battery should be cool.

11. If the phone is running hot, weird things can happen. For example, you may get no signal when you put the battery back in or the battery doesn't begin charging (the status bar battery icon doesn't change). Just let the phone cool off and it should work next time.

100% full is approximately 4200mV
As you can see in the cap below, it's showing only 60% at 4241mV (This was after booting up without the battery and putting the battery in)
A few minutes later, still plugged in, it showed 100% at 4225mV and then it went up to 4230mV.

Finally, I then unplugged the phone and I got a reading of 4196mV :D



Notes:
Now, when I charge it up, it will go up to 4230mV everytime. I leave it plugged in an extra few minutes after that.
I highly recommend Battery Monitor Widget
Batterystats.bin gets recreated if you unplug your phone and plug it in again. So don't do that. Let it get recreated on the M logo (Step 6).
Thanks to pcphobic for a couple of important tips and to pcphobic and sileshn both for confirming that my phone isn't possessed!
 
Last edited:

bnwg

Senior Member
Sep 2, 2010
425
64
Azhad (one of the two Androidiani OR developers) said another way to wipe battery

http://forum.xda-developers.com/showpost.php?p=11715432&postcount=967

now i don't know what's the right one? delete batterystats.bin or battd folder's contents? with full or empty battery?

Recently I follow Azhad's way to wipe the battery.
When I delete the file (ie. cc_data) under that folder and go back in it, the file will be regenerated. And the batterystats.bin is updated according to the timestamp of the newly generated cc-data file. I don't know if this is the same as the step 6 from zeppelinrox's method.
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,588
IN THE FREAKIN' OP
Azhad (one of the two Androidiani OR developers) said another way to wipe battery

http://forum.xda-developers.com/showpost.php?p=11715432&postcount=967

now i don't know what's the right one? delete batterystats.bin or battd folder's contents? with full or empty battery?
Maybe that's the method for CM7? I don't know because I'm a die hard CM6er lol
He also mentions a file (/data/system/batterystats.bis) that I've never seen mentioned before.
Recently I follow Azhad's way to wipe the battery.
When I delete the file (ie. cc_data) under that folder and go back in it, the file will be regenerated. And the batterystats.bin is updated according to the timestamp of the newly generated cc-data file. I don't know if this is the same as the step 6 from zeppelinrox's method.
I have that cc_data file too but it's blank when I open it with a text editor.
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,588
IN THE FREAKIN' OP
I have seen that article before.. thanks to you of course :)

I'll quote the conclusion of the first post:
That is, the stone over-estimated the voltage at the battery is full by ~ 60 mV and underestimated the power of up to 100 mV with an empty battery. The intent is well-battery protection (which is good too). It is pretended that 3.0 and 4.2 volts to discharge until it is loaded. In reality, there are more 3.1 volts and 4.15 volts (which by the way of battery manufacturers also better unanimous opinion!).

So the reading I get via Battery Monitor Widget aren't that far off and perhaps exactly where they're supposed to be.
After fully charging (showing 4230mV while plugged in) and then uplugging the phone, it will ideally show between 4150mV and 4200mV vs the 4.15 volts (ie. 4150mV) quoted above.
My phone will power itself off between 3150mV and 3200mV vs the 3.1 volts (3100mV) quoted above. Actually, I just checked BMW's log and today it powered itself off at 3162mV after 19.5 hrs.

I found it interesting that you use less power while downloading overclocked versus downloading at stock speed lol.
 

nickrule1896

Senior Member
Jan 7, 2010
140
28
@zeppelinrox: wouldnt ur steps be the same as doing the calibration my way, just that instead of booting to OR for flashing new rom, we just reboot normally?

@pcphobic: sry cos it would be hard for me to go around checking who posted this kind of info before. well, since u said it, i will definitely do it :)
 

zeppelinrox

Senior Member
Dec 21, 2010
9,374
21,588
IN THE FREAKIN' OP
@zeppelinrox: wouldnt ur steps be the same as doing the calibration my way, just that instead of booting to OR for flashing new rom, we just reboot normally?

Of course it would calibrate either way.
The difference is that I found a way to do it more conveniently.
You can do it anytime, use your phone normally and actually monitor the voltage as well.

Sent from my Milestone using Tapatalk
 

WongJames

Senior Member
Dec 7, 2010
350
20
Of course it would calibrate either way.
The difference is that I found a way to do it more conveniently.
You can do it anytime, use your phone normally and actually monitor the voltage as well.

Sent from my Milestone using Tapatalk

I am using MS2 and there isn't an option of "reboot" when pressing the power button. Can this be done by using the "quick boot" app? thanks:p
https://market.android.com/details?id=com.siriusapplications.quickboot&feature=search_result
 

Top Liked Posts

  • There are no posts matching your filters.
  • 137
    Calibrating Without Downtime!

    Edit: If this doesn't work on your device, try the Die-Hard Battery Calibrator Script to ensure a proper charge

    This is proven to work with Motorola Milestone so I would imagine the Droid as well.
    It works with the Milestone 2 but you may need to get the phone booted up manually (step 7) instead of the easy reboot in step 6.
    If you have a different phone and this works, please let us know!

    You probably won't believe that this will work but try it anyway.

    The big benefit of doing it this way:
    It's great if you don't plan on changing roms and just want to calibrate your battery without downtime so that you can just use your phone as you normally would.

    Note: Be sure that the phone isn't running hot (feel the back)

    1. While in Android, charge up to 100% and leave the phone plugged in.
    2. Delete /data/system/batterystats.bin
    3. Remove back cover
    4. Press Power and choose to reboot normally.
    5. When the screen goes black and the lights go out, pull out the battery before you get the M logo. It will probably still work after the M logo shows up but that's how I do it.

    6. Surprise: The phone will boot up without the battery! - Mine does - every time

    Note: Batterystats.bin is recreated when you see the M logo - even though the battery isn't in the phone.

    Go to Step 8 if the phone booted up as described.

    7. If it doesn't boot up and you see the battery with the ?
    ..........a) Put the battery back in (you will see 60%),
    ..........b) Power off the phone (press power until LED light goes out)
    ..........c) Power on the phone (press power until you see the M logo)
    ..........d) Remove battery... and watch bootanimation...

    8. a) After the surprise of seeing the boot animation without a battery, you will then see the lock screen along with a "No SIM card error" and no signal.
    ...... Put the battery back in - the SIM card error will disappear, you will get a signal, it will show 60% full and the icon will show the battery charging.
    ...... Go to Step 9 if this works as planned. If it doesn't, reboot (again without the battery) and use step 8b instead of step 8a.
    ... b) Put the battery back in during the bootanimation, but after the haptic feedback/vibration (and the buttons along the bottom light up).
    ....... On a normal reboot, you can actually slide and unlock the phone when you get the vibration during the boot animation. You knew that, right? ;)

    9. Use your phone normally while you calibrate the battery :D

    10. Let it fill it up to 100% + 15 minutes or so. When it is truly finished charging, the battery should be cool.

    11. If the phone is running hot, weird things can happen. For example, you may get no signal when you put the battery back in or the battery doesn't begin charging (the status bar battery icon doesn't change). Just let the phone cool off and it should work next time.

    100% full is approximately 4200mV
    As you can see in the cap below, it's showing only 60% at 4241mV (This was after booting up without the battery and putting the battery in)
    A few minutes later, still plugged in, it showed 100% at 4225mV and then it went up to 4230mV.

    Finally, I then unplugged the phone and I got a reading of 4196mV :D



    Notes:
    Now, when I charge it up, it will go up to 4230mV everytime. I leave it plugged in an extra few minutes after that.
    I highly recommend Battery Monitor Widget
    Batterystats.bin gets recreated if you unplug your phone and plug it in again. So don't do that. Let it get recreated on the M logo (Step 6).
    Thanks to pcphobic for a couple of important tips and to pcphobic and sileshn both for confirming that my phone isn't possessed!
    15
    Having seen so many posts on calibration of battery, i have decided to make this thread so to make it easier and useful for you guys. This thread can also be used to share your experiences with calibration and usage of milestone's battery.
    Note: This is done using a the motorola milestone 1. So if you're using any other phone, pls ask abt them in this thread b4 you do anything!!!!

    Intro:
    The calibration of the battery is needed when you want to switch/install roms. This will make sure that the battery is really fully charged, thus preventing the battery life from dropping too drastically in a matter of hours.

    I know there are some other methods to help calibrate your battery, but this is the only one I am sure of the steps. Please inform me of the other methods so to share with everybody.

    Steps:

    1. Before flashing a new rom, use root explorer (with read/write set) to delete the file "batterystats.bin" stored in /data/system/.



    2. Charge your phone with it being turned off.



    3. After it is fully charged(100%), take out its battery without plugging off the power supply.



    4. Wait for a few moments, and a ? sign will appear.



    5. Put your battery back in. You should see that the battery percentage increases quickly to 60%. If it increases to 100% with seconds, please skip to step 6.


    6. If it stops increasing at 60%, let the phone continue to charge until 100%(takes quite a while)



    7. Once it reaches 100%, let it charge for a further 15-20 minutes.



    8. Once that's done, you can boot to OpenRecovery and flash your rom!!!



    Alternative way of calibration(thanks a lot zeppelinrox!!!):
    http://forum.xda-developers.com/showpost.php?p=11803458&postcount=10

    This method allows you to calibrate the battery and use ur phone at the same time!!!





    I hope this helps you people, because it really helped me!!!!
    Note: i m not responsible for anything bad that happens to ur phone. Perform the calibration at ur own risk!!!(though it should be perfectly fine, unless u do something wrong or extra)
    Btw, i am just writing things that i assume to be correct, so if anything needs to be edited/added, pls inform me through this thread or sending me a pm.

    Credits to everyone (especially pcphobic for his post in http://forum.xda-developers.com/showpost.php?p=11604143&postcount=740) who have written all these in your posts that made it possible for me to gather and get all this info!!!!!! :)
    2
    Umm... forgot to post the newest test script here...

    Die-Hard Battery Calibrator :D

    http://forum.xda-developers.com/showpost.php?p=18703418&postcount=5021

    You can use no battery boot with it but you can actually put the battery back in as soon as you see the animation: )

    I should make my own updated thread: p
    1
    You should give credits to whom you copied this from. :)
    1
    Perhaps use a crowbar or hammer to get it out.
    Let me know how that goes.