I've read this thread started by JamesBarnes and it got me thinking. The setup he has done is good, but we actually have all those things in our phones. We've got a multimeter (current widget), we've got a power draining load (the phone itself) and the major drawback in his setup is eliminated. He is actually measuring the capacity of the battery to be compared with other batteries, but our phones protect the batteries by switching off with some charge left in the battery because LiIon batteries should not be drained completely. This means a/ you can't damage your battery by full cycling and b/ the phone does not use all the battery capacity. So HTC says 1230mAh, but what is the actual usable capacity of the battery? The most precise measurement should be with a constant minimal drain, but this will take too much time. The next best thing is the charge cycle. So I drained my battery untill shutdown. Then I powered on (I have fastboot enabled, so the phone turns off at 1% to have some energy left to power the memory while "off"), set the current widged to update at 30 sec, cleared the log and plugged in the charger. Then I turned off the screen and left the phone to fully charge overnight. In the morning I downloaded the log and calculated the energy that was pumped in the battery. The result is 1121 mAh. You can calculate yours too. You just have to sum the results of the charge current and then multiply the result to the time interval measured in hours (for 30 sec interval you should actually divide by 120). There is a small bug with current widget and it doesn't really log every period. Sometimes it's a bit more and sometimes it skips. So I wrote a small matlab program to calculate the exact capacity and if you want, you can send me your log of a full charge, or you can calculate it yourselves - just set a higher interval because this way the error will be smaller.
If anyone has a spare DHD (not likely) can leave the phone at airplane mode with 300 sec log interval and in a few days we'll have an exact value of the battery capacity.
If anyone has a spare DHD (not likely) can leave the phone at airplane mode with 300 sec log interval and in a few days we'll have an exact value of the battery capacity.
Last edited: