Battery Draining Bug?
I think I've discovered a bug on the X that's causing battery drain.
I installed Spare Parts and saw my phone had been unplugged for about 12 hours and that my phone was been Running (not sleeping) for 100% of that time.
After being methodical and getting data points after opening various programs, I determined that after I opened any program that accessed the GPS, the phone no longer would go into sleep mode.
To get the phone to start sleeping again, all I have to do is toggle GPS off and then back on again.
It's completely reproducible every time on my phone.
Now, I don't know what kind of effect this will have on battery life, but seems like it probably would have some effect.
If others can test this and see if it affect you at all, it'd be helpful to see if there's a potential major software bug here or if it's just something with my phone.
Easiest way to test is to start with a fresh reboot with GPS toggle on, install Spare Parts, plug in the phone for a second (to reset the counters), let it sit sleeping for a few minutes, then read the Running % in Spare Parts. Should be pretty low. Plug in the phone to reset the counters again. Then start Google Maps or any other program that will activate your GPS. Close that program and then let the phone sit idle for a few minutes. Check Spare Parts running time again and, for me, it's pegged at 100%.
It stays like that until I toggle the GPS off or reboot the phone.
Very curious to see if others get the same results.