[Desire Android Development] melethron:
Thats not an issue of the kernel/bfs. BFS doesnt support cgroups:

http://ck.kolivas.org/patches/bfs/bfs-faq.txt

HTC using cgroups to speed up interactivity on CFS is as fail as fail can be..... cgroups is intended for large servers and not a phone. It does speed up CFS but at the cost of some overhead (=more cpu/more battery).

If you want to use 1.72 with BFS you would need to edit the dalvik VM source to not use cgroups. There is no way to fix it in the kernel source.

For that reason i went back to a 1.35 HD rom.

I dont care about exploding phone. What i care about is that corrosion starts at about 4,05 V. When full capacity is reached a trickle charge still charges. I noticed that the battery temp is about 5°C warmer (after 3h @ 100%) with siberes hack than on cm fix with 1% charge cycles (btw. HTC does 99% cycles on passion .... i dont get why they do it different on bravo). I can live with a reduce overall lifetime of the battery but i think the additional corrosion from the trickle charge should be avoided by some short charge-discharge cycles.

Its a bit different when the phone is off. There is no powerdrain on the battery from the system. For example if the battery is full and the systems drains -50mA the current will look like the battery didn't reach its full capacity yet. You'll have almost a 50mA current on the charger then while it would be 0 mA when the phone is off..... Thats why the battery driver stops charging not only when it reaches the max voltage but also if the current is less than 80mA.

Im not 100% sure on this but this is what the source looks like to me....

EDIT: Here check this:

<6>[ 55.355163] batt: charging SLOW
<6>[ 107.218170] [HTC_BATT]RSNSP=67,RARC=100,Vol=4162mV,Current=-147mA,Temp=271C(1/10)
<6>[ 157.331115] [HTC_BATT]RSNSP=67,RARC=100,Vol=4177mV,Current=-18mA,Temp=272C(1/10)
<6>[ 207.470947] [HTC_BATT]RSNSP=67,RARC=100,Vol=4182mV,Current=28mA,Temp=273C(1/10)
<6>[ 257.594421] [HTC_BATT]RSNSP=67,RARC=100,Vol=4182mV,Current=27mA,Temp=276C(1/10)
<6>[ 309.074249] [HTC_BATT]RSNSP=67,RARC=100,Vol=4182mV,Current=26mA,Temp=276C(1/10)
<6>[ 359.168487] [HTC_BATT]RSNSP=67,RARC=100,Vol=4182mV,Current=26mA,Temp=277C(1/10)
<6>[ 409.351226] [HTC_BATT]RSNSP=67,RARC=100,Vol=4182mV,Current=21mA,Temp=278C(1/10)
<6>[ 459.468566] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=25mA,Temp=278C(1/10)
<6>[ 509.557220] [HTC_BATT]RSNSP=67,RARC=100,Vol=4182mV,Current=24mA,Temp=281C(1/10)
<6>[ 559.651062] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=23mA,Temp=281C(1/10)
<6>[ 609.759948] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=23mA,Temp=282C(1/10)
<6>[ 659.932922] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=23mA,Temp=283C(1/10)
<6>[ 710.062561] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=22mA,Temp=283C(1/10)
<6>[ 760.148742] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=22mA,Temp=283C(1/10)
<6>[ 810.255432] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=22mA,Temp=285C(1/10)
<6>[ 860.437011] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=22mA,Temp=286C(1/10)
<6>[ 910.615051] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=21mA,Temp=286C(1/10)
<6>[ 960.794738] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=21mA,Temp=286C(1/10)
<6>[ 1010.881774] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=20mA,Temp=286C(1/10)
<6>[ 1070.098052] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=20mA,Temp=287C(1/10)
<6>[ 1120.187683] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=20mA,Temp=288C(1/10)
<6>[ 1170.366851] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=19mA,Temp=288C(1/10)
<6>[ 1220.546325] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=19mA,Temp=288C(1/10)
<6>[ 1270.630126] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=19mA,Temp=288C(1/10)
<6>[ 1320.809234] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=18mA,Temp=288C(1/10)
<6>[ 1371.719390] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=18mA,Temp=291C(1/10)
<6>[ 1421.901000] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=17mA,Temp=292C(1/10)
<6>[ 1472.081176] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=17mA,Temp=293C(1/10)
<6>[ 1522.180694] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=17mA,Temp=293C(1/10)
<6>[ 1572.903656] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=16mA,Temp=293C(1/10)
<6>[ 1622.999664] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=16mA,Temp=293C(1/10)
<6>[ 1673.166778] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=16mA,Temp=293C(1/10)
<6>[ 1723.277099] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=16mA,Temp=293C(1/10)
<6>[ 1773.438079] [HTC_BATT]RSNSP=67,RARC=100,Vol=4187mV,Current=16mA,Temp=293C(1/10)

You see how the temperature goes up and there is constant current applied to the battery. As the system uses about 4mA this time (thats already substracted). So whats happening here is not charging but applying the activation energy for this reaction:

I was pretty bad in chemistry at school but this should be an exothermic reaction and the temperature increase should be the energy outcome from that reaction + the heat of resistance.