Ok, so after playing around some more i'm still having the same problem. It still happens when in offline mode, and it still happens with the sim removed. The device has now since been reflashed a further two times and is currently running PR1.2 as i had read about severe battery drain in PR1.3 but this has not helped.
Here is powertop's output when the phone is both offline and idle...
Looking at those it seems that the phone isn't doing much with the processor, at least not that it would seem to me on first inspection.
So i ran powerscript and found that even despite this low cpu usage there is very high current draw for idle mode!
Below is the current draw for offline mode with the sim in place still...
Note that the phone is idle when the number of events is shown as approx 60 to 70
Code:
Using I2C to read charge meter directly
Sat Jan 7 16:46:58 GMT 2012 333mA 182 total events, 36.103 events/sec
Sat Jan 7 16:47:03 GMT 2012 317mA 218 total events, 43.512 events/sec
Sat Jan 7 16:47:08 GMT 2012 303mA 186 total events, 37.110 events/sec
Sat Jan 7 16:47:13 GMT 2012 304mA 235 total events, 46.896 events/sec
Sat Jan 7 16:47:18 GMT 2012 250mA 70 total events, 13.952 events/sec
Sat Jan 7 16:47:23 GMT 2012 203mA 61 total events, 12.182 events/sec
Sat Jan 7 16:47:28 GMT 2012 200mA 62 total events, 12.353 events/sec
Sat Jan 7 16:47:33 GMT 2012 200mA 138 total events, 27.522 events/sec
And here again with the sim removed, same applies as above about the phone being idle.
Code:
Using I2C to read charge meter directly
Sat Jan 7 16:55:05 GMT 2012 407mA 197 total events, 39.329 events/sec
Sat Jan 7 16:55:10 GMT 2012 300mA 220 total events, 43.903 events/sec
Sat Jan 7 16:55:15 GMT 2012 295mA 187 total events, 37.303 events/sec
Sat Jan 7 16:55:20 GMT 2012 292mA 324 total events, 64.670 events/sec
Sat Jan 7 16:55:25 GMT 2012 307mA 81 total events, 16.174 events/sec
Sat Jan 7 16:55:30 GMT 2012 178mA 73 total events, 14.582 events/sec
Sat Jan 7 16:55:35 GMT 2012 184mA 86 total events, 17.151 events/sec
Sat Jan 7 16:55:40 GMT 2012 211mA 183 total events, 36.512 events/sec
drawing 180mA when idle is stupidly high, and these results must be accurate as well since the battery is lasting only ~7 hours in idle mode and this makes sense with the maths as 1221mAh (the max my battery charges to) divided by 180 gives us approx 6.7 hours battery life.
So given that, it looks to me like i have a hardware issue, some fault in the power circuit, maybe a bad voltage regulator or something, or at least some other kind of partial short.
Any ideas anyone? I'd love to be proven wrong about it being a hardware fault as i'm not quite ready to part with the device but 6 hours standby time is no good to anybody really!
Hey bro, I finally got over mny new year hangover! (heh).
Can you install 'pastebinit' from devel (or extras or somwhere) and then do this.
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
Can you install 'pastebinit' from devel (or extras or somwhere) and then do this.
Followed by this (while connected to the net):