very strange, I checked with root explorer and I have this dir with files inside (CM7 nightly 11 15 2011), but with battery calibrator seems that I am not able to modify anything... :-(
[19659.051849] batt: 91%, 4182 mV, 24 mA (24 avg), 31.0 C, 1307 mAh, CM=1
[19709.371520] batt: 91%, 4182 mV, 24 mA (24 avg), 31.0 C, 1307 mAh, CM=1
[19759.482940] batt: 91%, 4182 mV, 23 mA (24 avg), 31.0 C, 1307 mAh, CM=1
[19809.619445] batt: 91%, 4182 mV, 23 mA (22 avg), 31.0 C, 1307 mAh, CM=1
[19867.305145] batt: 100%, 4182 mV, 24 mA (17 avg), 31.0 C, 1440 mAh, CM=1
[19867.350280] batt: charging BATTOFF [FULL]
[19917.465301] batt: 100%, 4177 mV, 0 mA (0 avg), 31.0 C, 1440 mAh, CM=3
[19967.664306] batt: 100%, 4177 mV, 0 mA (0 avg), 31.0 C, 1440 mAh, CM=3
[20017.789123] batt: 100%, 4177 mV, 0 mA (0 avg), 31.0 C, 1440 mAh, CM=3
Hi!
Here it is: P/N 35H00132-05M.
Since the drain continued today (from 86% to 25% between 7am and 1pm with minimal usage) I decided to have it replaced. The new one will arrive next Tuesday or Wednesday and hopefully it will work as expected and it will be able to be calibrated...
I got my replacement battery, and this one gives normal data in the app fortunately. However there is something strange going on. As I burn the battery so that the learn cycle can begin, when the capacity falls to around 160 mAh, the current jumps to -2200 mA, and after that the capacity jumps up to 250 mAh. This repeats 3 times, and only after this will the battery go down to zero. After two calibration runs the age stays 100%.
However, it still discharges quicker than my 2-year-old orig Nexus battery... I need to wait a few charge cycles until I see a better performance that my old battery? Thanks
I'd be amazed if there were vast differences between them - there's no reason why you couldn't work out the registers for your battery and add in the various functions (as we did) into the kernel code that return the values in those registers, which would make it compatible with (and therefore you could use) this tool.[snip]
The "[UTILITY] Battery calibration tools" downloaded from Market does not work on my DHD. The tool is for batteries with the ds2784 chip, but my DHD is showing it has a ds2746 chip--from the driver directory.
My Desire HD always shows battery to be well above 3600mV when the battery meter is at 1%..0%.
When fully charged, the battery is at 4211mV.
Is this normal?
I read from this thread and the instructions for the Battery calibration tool that the battery should go down to 3201mV to be at 0%. 3600mV to 3201mV is a quite wide range, so I'm wondering if a large portion of the battery capacity is wasted and not used.
I have tried various calibration methods, but it's still the same.
The "[UTILITY] Battery calibration tools" downloaded from Market does not work on my DHD. The tool is for batteries with the ds2784 chip, but my DHD is showing it has a ds2746 chip--from the driver directory.
I have tried to let the battery reach 0% and have a forced shutdown, and after that, I boot into recovery and let it stand for more than 10 minutes. And then after a reboot, the battery would be at below 3400mV. I could repeat the same procedure again, but I was afraid of deep discharging the battery to below 3201mV and damaging it.
Is there any way to calibrate the battery so that it's below 3300mV when the battery meter shows 1% (short of using the tool offered in this thread)?
Thanks.
I'd be amazed if there were vast differences between them - there's no reason why you couldn't work out the registers for your battery and add in the various functions (as we did) into the kernel code that return the values in those registers, which would make it compatible with (and therefore you could use) this tool.
What kernel are you running BTW?
I'd be amazed if there were vast differences between them - there's no reason why you couldn't work out the registers for your battery and add in the various functions (as we did) into the kernel code that return the values in those registers, which would make it compatible with (and therefore you could use) this tool.
What kernel are you running BTW?
Yes i looked at drivers for the ds2746, but these tools wont work unless you modify the driver. Also look at the ds2746 data sheet cause its a little different than the ds2784. Would be a great project.
Howdy noname, yeah i'm trying to remember details but its been so long. Remember all those pdfs we found? Well some of those were for ds2746 showing all the registers and calculations. So its def possible. A DHD owner would need to edit their driver and test on their device. Then we could even update the app in this thread to work for both drivers. All the code is still up on github for anyone to use. This was a great project.
I was exactly the same prior to doing this dev work! Jump on in, the water's lovely...I'm no kernel hacker, and the last time I touched anything UNIX/Linux related was over 10 years ago.
I was exactly the same prior to doing this dev work! Jump on in, the water's lovely...
I'm using the latest app with Pershoot's latest kernel. found no issue so far, the apps works very well
on "Learn Prep" page this time I'm able to set both age to max and Full40 value, before the release I could only set age to max.
by the way, may I ask a question please
I'm using Nexus One OEM battery, what Full40 value would you suggest to use?
Also, recently my phone powers off before learn flag goes on, voltage was at around 3.42v, is this normal?
mtw4991 said:How to calibrate your battery using the Battery Calibrator App....
(original text: http://xdaforums.com/showpost.php?p=9583271&postcount=340)
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!
So basically ,
after the first calibration, We just need to set full40 = 1180,
Register : 0x 65 , value HEX
0x66: value HEX
Is that how it should be done?
Thanks for your help =)