Personally I noticed that on CM7.2 roms (not only this, but also ones from other devs) the phone doesn't deep sleep after you use the GPS, even if you turn the GPS off after using it, it won't deep sleep until you reboot. Anyone elsce noticed this? I'm looking into possible solutions.
If you haven't been using GPS and it still doesn't deep sleep please connect the phone to the PC via USB, install BetterBatteryStats app and start it then unplug the phone, switch off wifi and turn off the screen. After at least 30mins unlock the phone and open BetterBatteryStats, click refresh to update statistics. Report back in this thread what you find under "Kernel Wakelocks" and "Partial Wakelocks".
EDIT: I discovered how to remove wake locks manually in code, but there's something weird going on with the GPS api in this kernel... the "GPS off" BroadcastEvent doesn't always fire when the user disables GPS, which makes it difficult to determine when the lock should be removed. I think I'll opt for removing the lock when screen goes off if no app is using the GPS.
Edited by Master_T, 16 March 2013 - 06:08 PM.