[Nexus One Android Development] mtw4991:
How to calibrate your battery using the Battery Calibrator App....

1. Use the battery calibrator app v.1.3.0 to do the following:

a. Open the app and go to menu>settings and check all boxes. Auto-on airplane mode is optional

b. set your age to 100 using the battery app under the Learn Prep tab and press Save

c. set your full40 to 1452mAh in the same tab if using the stock capacity OEM battery and press Save

NOTE: set your full40 to 1650mAh or higher if using an aftermarket battery and save

2. In the Learn Prep tab:

a. set your aEvolts to 3201 (type on each line: Register:0x 66 Value: a4 and

press save

)

b. set your stop charging current to <20mA (Register:0x 65 Value: 06 and

press save

)

c. if Capacity/mAh drops to near empty prior to 3201mV being reached, the app will

automatically raise capacity by 200mAh

so phone doesn't auto-shutdown prior to reaching 3201mV

3. Achieving Learn Mode with the app:

a. turn learn mode on in Learn Mode tab

NOTE: to hit learn mode you must keep your current mA above -200mA draw at the empty point! The app will

automatically enable GPS polling

to keep you above the required minimum current draw.

b. wait for mV to drop to 3201mV (the learn mode pop-up box will appear & learnf button will light up)

c. insert charger IMMEDIATELY! (You will see a pop-up message saying Learn Mode is active.)

d. turn off and close any open apps you have running, but leave Battery Calibrator open.

e. put phone into airplane mode so that you don’t get unexpected current draw near the full point.

f. set SetCPU profile to disable overclocking. (set min/max to the same value, ie. 998\998max)

g. charge for a full 4 hrs with stock battery and screen off, 5 hrs for larger capacity batterys.

NOTE: if you want to, you can actually use your phone until the charge reaches 80-90%, then use airplane mode and DO NOT touch the phone, peek, turn on the screen....DO NOTHING but walk away til time is up.

h. unplug and reboot, your new age should be set automatically. Learn is now complete and your phone should now charge to 100% and die at 0-1%. Also, some have reported having to manually power down/power up with the new app to have age reset by the application. If age isn’t change upon reboot, try power off/power on.

4. Learn Failure:

If your new age shows 94% upon rebooting, then learn mode failed and you need to do it again, paying close attention as charging nears 80% and above. This is where learn mode can be lost by rogue apps, auto-updates, calls, etc pulling the current down below the minimum prematurely.

Note1: As current gets close to <50-60mA don't touch the phone or you may artifically increase the current draw pulling it below 20mA and it will end the learn cycle prematurely. Airplane mode helps prevent that.

Note2: Learn mode cannot be achieve with the phone off. Leave the phone on until learn is complete and the battery status register shows 0x81. Done!

How to perform a Capacity Test for your battery. Credit goes to the infamous Temasek!

Prepare for another learn cycle

This time we will do what I call a capacity test.

Perform another learn cycle.

Once cycle completed do not reboot. Check your battery log using an app like OS Monitor. See your highest achieved capacity at 99-100% before it completed its charge. The capacity should drop below your full40. Read the log properly. The highest achieved capacity before it drop below your full40 will be your new full40 value.

With your new full40 value, perform yet another learn cycle.

Enjoy your new calibrated battery!

Congrats to Roger, Login and Jon...the app is FREE in the Market now!!!