[Nexus One Android Development] chowlala:
Just wanted to open up a thread here to see what we can do about battery calibration issues.

Not sure, but I read around that people are getting phone shut downs at the 10%-15% ranges.

When in actual fact it should be somewhere around the 1%-5% range?

Was wondering if there is some possibility in coding the phone to read the battery state better? Thus, eliminating the need for calibrating the battery through tradition means (ie: wiping, charging, etc)

Thoughts?

EDITS:

We've managed to figure out huge boundaries for the battery.

There are currently two ways to get your battery into "learn mode" - which will adjust the values of your battery to accurately reflect it's "age" and mAh tracking. This will lead to a fix for those of you who are currently facing issues with the battery shutting down anytime before the 1% mark.

1st fix:

1) Drain battery

2) Just as the battery hits "Shutting Down", plug in your charger

3) Let the phone power down

4) DO NOT TURN ON THE PHONE

5) Let it charge up overnight or something along the lines of 4-6 hours, which should ensure it will be fully charged

6) Power up, your phone should be calibrated and will now shut off at 1%

2nd fix:

Head over to the Battery Calibration Tool Thread which spawned off from the discussions here!

>> http://xdaforums.com/showthread.php?t=765609

For those who have been following the thread and wonder what your status_reg value mean theloginwithnoname has kindly provided us with some datasheets and translations, which you can get with the following links:

Binary Conversion: http://xdaforums.com/showpost.php?p=8013370&postcount=548

Then refer to Page 25 of the following datasheet: http://datasheets.maxim-ic.com/en/ds/DS2784.pdf

OR you can try out mtw4991's method to get learn mode done with the battery app that's been created out of this brainstorm thread.

The link to his method is > http://xdaforums.com/showpost.php?p=9583271&postcount=340

I began this thread in other to simply find a fix for our current battery % meter. Basically, users (myself included) were having a problem with inaccurate battery % readings. Some N1's would shut down above 1% and this would leave many guessing when the battery would give out.

Needless to say, here at XDA - we managed to find the fixes. ;-)

And of course, we decided to take it to the next level.

How can we now push more out of our batteries?

RogerPodacter and theloginwithnoname have been working endlessly learning and understanding the how the battery registry works and together with dvgrhl they're finalizing a battery mod app which will help the N1 cope with the "learn mode" and changes. So do thank them for the great work they've been pushing out with! =)

They've helped us hammer out all the core details concerning the battery understanding, values, binaries, and we're wading through the mess to push the limits on the batteries (short of blowing them up as usual of course).

Be patient if the app isn't ready yet. And if you're a n00b, please don't mess around with the registry values and such if you have absolutely no idea what you're doing.

No one is gonna give a rat's poopoo if you blow up your phone and set your house on fire and gremlins kidnap your toes.

Peace out.

This thread is and methodology has served its purpose and many of us from this thread have moved on over to the Battery Calibration TOOL thread. The methods still work, but so do the newer methods at the tool thread, which I personally find is much easier and better.

If you'd like to use the manual method, it'll still work.

For those more interested in the newer method and I encourage you to do so - head on over through this link > http://xdaforums.com/showthread.php?t=765609