[Nexus One Android Development] RogerPodacter:
so much for the first test, it didnt seem to work. in fact i am still baffled and unable to comprehend it, but the thing that is shutting down charging is current<=80 mA. there's just no other conclusion i can come to, based on these logs. check them out.

[INFORMATION] batt: 96%, 4157 mV, 123 mA (143 avg), 36.7 C, 1315 mAh
08/24/2010 11:40:58 [INFORMATION] batt: 96%, 4153 mV, 94 mA (123 avg), 36.7 C, 1316 mAh
08/24/2010 11:41:48 [INFORMATION] batt: 96%, 4157 mV, 137 mA (127 avg), 36.7 C, 1318 mA
08/24/2010 11:42:39 [INFORMATION] batt: 96%, 4157 mV, 106 mA (123 avg), 36.7 C, 1320 mAh
08/24/2010 11:43:29 [INFORMATION] batt: 96%, 4157 mV, 114 mA (110 avg), 36.7 C, 1321 mAh
08/24/2010 11:44:19 [INFORMATION] batt: 97%, 4157 mV, 112 mA (107 avg), 36.7 C, 1323 mAh
08/24/2010 11:45:12 [INFORMATION] batt: 97%, 4157 mV, 106 mA (110 avg), 36.7 C, 1324 mAh
08/24/2010 11:46:02 [INFORMATION] batt: 97%, 4162 mV, 106 mA (101 avg), 36.8 C, 1326 mAh
08/24/2010 11:46:52 [INFORMATION] batt: 97%, 4162 mV, 104 mA (89 avg), 36.8 C, 1328 mAh
08/24/2010 11:47:42 [INFORMATION] batt: 97%, 4162 mV, 99 mA (88 avg), 37.0 C, 1329 mAh
08/24/2010 11:48:32 [INFORMATION] batt: 97%, 4162 mV, 100 mA (74 avg), 36.7 C, 1331 mA
08/24/2010 11:49:23 [INFORMATION] batt: 97%, 4162 mV, 98 mA (99 avg), 36.7 C, 1331 mAh
08/24/2010 11:50:13 [INFORMATION] batt: 98%, 4162 mV, 97 mA (97 avg), 36.6 C, 1332 mAh
08/24/2010 11:51:03 [INFORMATION] batt: 98%, 4162 mV, 90 mA (91 avg), 36.6 C, 1334 mAh
08/24/2010 11:51:53 [INFORMATION] batt: 98%, 4153 mV, 2 mA (91 avg), 36.5 C, 1336 mAh
08/24/2010 11:52:43 [INFORMATION] batt: 98%, 4162 mV, 87 mA (83 avg), 36.5 C, 1336 mA
08/24/2010 11:53:33 [INFORMATION] batt: 98%, 4162 mV, 85 mA (85 avg), 36.6 C, 1337 mA
08/24/2010 11:54:24 [INFORMATION] batt: 98%, 4162 mV, 83 mA (83 avg), 36.7 C, 1339 mA
08/24/2010 11:55:14 [INFORMATION] batt: 98%, 4162 mV, 54 mA (54 avg), 36.7 C, 1339 mA
08/24/2010 11:56:04 [INFORMATION] batt: charging BATTOFF [FULL]

another, this one also shows the problem when it jumps right to full. we do need the learn function, cause its adjusting itself and notice it sets itself right to 1361 mAh at the jump.

08/21/2010 14:08:32 [INFORMATION] batt: 94%, 4133 mV, 181 mA (128 avg), 34.1 C, 1286 mA
08/21/2010 14:09:25 [INFORMATION] batt: 94%, 4128 mV, 128 mA (176 avg), 33.6 C, 1288 mA
08/21/2010 14:10:23 [INFORMATION] batt: 95%, 4138 mV, 169 mA (154 avg), 33.0 C, 1289 mA
08/21/2010 14:11:32 [INFORMATION] batt: 95%, 4133 mV, 108 mA (144 avg), 32.3 C, 1291 mA
08/21/2010 14:12:32 [INFORMATION] batt: 95%, 4133 mV, 141 mA (128 avg), 31.8 C, 1292 mA
08/21/2010 14:13:32 [INFORMATION] batt: 95%, 4138 mV, 115 mA (145 avg), 31.6 C, 1296 mA
08/21/2010 14:14:26 [INFORMATION] batt: 95%, 4123 mV, 19 mA (116 avg), 31.7 C, 1297 mAh
08/21/2010 14:15:28 [INFORMATION] batt: 95%, 4143 mV, 102 mA (125 avg), 32.1 C, 1299 mA
08/21/2010 14:16:32 [INFORMATION] batt: 95%, 4138 mV, 118 mA (122 avg), 32.6 C, 1302 mA
08/21/2010 14:17:32 [INFORMATION] batt: 100%, 4133 mV, 67 mA (65 avg), 33.5 C, 1361 mAh
08/21/2010 14:17:32 [INFORMATION] batt: charging BATTOFF [FULL]

another one, showing that jump as well. and always 80mA. i've never got a log that DIDNT stop at 80. i'm just crazy cause its probably an internal ds2784 requirement, and the old driver used that number for that very reason until they updated to code.

08/18/2010 02:56:59 [INFORMATION] batt: 86%, 4162 mV, 119 mA (119 avg), 36.0 C, 1182 mA
08/18/2010 02:58:04 [INFORMATION] batt: 87%, 4167 mV, 115 mA (116 avg), 36.0 C, 1185 mA
08/18/2010 02:59:09 [INFORMATION] batt: 87%, 4167 mV, 112 mA (113 avg), 35.8 C, 1185 mA
08/18/2010 03:00:14 [INFORMATION] batt: 87%, 4167 mV, 108 mA (109 avg), 35.8 C, 1188 mA
08/18/2010 03:01:19 [INFORMATION] batt: 87%, 4167 mV, 105 mA (105 avg), 35.7 C, 1190 mA
08/18/2010 03:02:24 [INFORMATION] batt: 87%, 4167 mV, 102 mA (103 avg), 35.7 C, 1192 mA
08/18/2010 03:03:29 [INFORMATION] batt: 88%, 4167 mV, 98 mA (99 avg), 35.7 C, 1193 mAh
08/18/2010 03:04:34 [INFORMATION] batt: 88%, 4167 mV, 96 mA (97 avg), 35.6 C, 1195 mAh
08/18/2010 03:05:39 [INFORMATION] batt: 88%, 4167 mV, 93 mA (94 avg), 35.5 C, 1196 mAh
08/18/2010 03:06:44 [INFORMATION] batt: 88%, 4172 mV, 90 mA (90 avg), 35.5 C, 1198 mAh
08/18/2010 03:07:50 [INFORMATION] batt: 88%, 4172 mV, 87 mA (88 avg), 35.5 C, 1200 mAh
08/18/2010 03:08:55 [INFORMATION] batt: 88%, 4172 mV, 85 mA (86 avg), 35.5 C, 1201 mAh
08/18/2010 03:10:00 [INFORMATION] batt: 88%, 4172 mV, 82 mA (83 avg), 35.3 C, 1203 mAh
08/18/2010 03:11:05 [INFORMATION] batt: 88%, 4172 mV, 80 mA (81 avg), 35.3 C, 1204 mAh
08/18/2010 03:12:10 [INFORMATION] batt: 100%, 4172 mV, 78 mA (79 avg), 35.2 C, 1363 mAh
08/18/2010 03:12:10 [INFORMATION] batt: charging BATTOFF [FULL]

i wont go on, but every log is the same.

so i think i should abandon all this 80 mA and <=20mA crap, and we should concentrate on getting the learn mode register, and doing the palm pre thread equivalent, and also try to see how we could add in the ds2782 reg function into ds2784 so we can print whatever we want to file or to screen (dmesg).

dvgrhl, the above are the type of questions we may want to ask when the time comes.