[Desire Android Development] spocky12:
Not willing to be agressive, but could people with no battery drain problem stop saying this is not a cm6.1 issue ? I believe reporting that you have no problem is enough, affirming cm6.1 is not the cause because you don't experience this issue is far from being constructive. Note that I don't neither affirm 100% this is a cm6.1 issue (we would need to find a way to reproduce it on any Desire to be sure).

Anyways, here are the facts :

- I NEVER had any battery drain issue before (being with my Htc Desire or my Htc Magic).

- I'm not used to complain very often, it took me more than a week of tests, resets, reboots, apps uninstallations etc... before reporting it. I think it automatically excludes a random bug that could have been fixed by a simple reboot

- at least 6 people in the last few pages described this issue

I hope this is enough to catch the attention of Kali or any other cm developer (I am myself a developer, but with no experience in kernel / Os development)

Now the technical facts (let's hope that comparing our configuration might help finding a combination of elements that raise this issue) :

- it appeared around rc2 (and for sure was not present in rc1)

- it manifests itself by draining between 4 and 7% battery instead of 1/2%

- it's easily visible in spare parts : "time spent not sleeping" is huge (often more than 80%) even if the phone was just lying on a table with absolutely no user interaction and no special app launched. "Partial activity" doesn't show any special/incorrect behavior for applications (only a few minutes/seconds for System / Call / whatever). I believe that if it were an application that was the culprit, it would be displayed here (I might be wrong, perhaps anonymous threads related to an application couldn't be seen here, but I don't think so). It leads me to believe this is linked to android/kernel/driver.

- it's not fixed with a factory reset (but android automatically reinstalled my apps after 1st boot, so without more tests, I can't affirm 100% this is not an app)

- My desire is S-Off (with nexus one partitions)

- My radio is 32.47.00.32u_5.10.05.23 (I didn't change it recently)

- I didn't install another kernel

- I didn't install anything related to cpu frequency/governor etc (ie: setcpu is not installed)

- I didn't install anything related to battery calibration / battery saving etc...

- I have wifi on all the time (though not always connected). I didn't try to disable it to see whether it fixes thing or not.

- My locale settings is French (who knows, it might not append in every language)

- I didn't change CM performance parameters (JIT, VM stack...)

- I'm using launcher pro as home

- Issue is not present all the time (I noticed yesterday that during almost 2 hours, I had a normal battery drain). Then I did a few things (1 or 2 sms, 1 call), switched off the screen and 1 or 2 hours later, battery drain was here again...

As I didn't have any issue with CM Rc1, I suggest anybody in my case to flash it over final without resetting (nandroid first) and check whether the issue is gone. If that's the case, I think we can be sure this is related to cm6.1 (perhaps with a combination of other parameters). If that's not the case, maybe that's an app we are all using that was updated a few days/weeks ago that caused it.

In the meantime, Kali, if you want me to make tests, don't hesitate to pm me.