Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

When my phone won't go to sleep, what is the best way to trouble-shoot what the problem and/or offending app is?

(In my case I am running CyanogenMod, and so I don't know if the solution will be the same or different than for stock Android)

share|improve this question
    
What version of CyanogenMod? –  Ben Griffiths Feb 21 '11 at 9:01
    
Sorry - CM 6.1.0-DS –  Mingo Feb 21 '11 at 11:24
1  
In stock Android, there is a developer setting "never sleep when plugged in". Is that turned on? –  Al E. Feb 21 '11 at 15:50
    
I couldn't find a similar option in CyanogenMod, but it could be there somewhere. –  Mingo Feb 22 '11 at 8:29
1  
The setting Al mentioned was found under Settings -> Applications -> Development on my Galaxy S until the 2.2.1 update, check there if you have it. –  onik Feb 22 '11 at 8:43

2 Answers 2

up vote 1 down vote accepted

First, look at which apps are runnng (including services). Then use Titanium Backup to freeze on of those apps (exclude regular system apps/services, unless you've determined nothing else is the culprit) and see if your problem stops. If you haven't found the offender, un-freeze and try another.

share|improve this answer
    
Just out of curiosity, are there other apps like Titanium Backup that can freeze an app? –  Mingo Feb 22 '11 at 14:58
    
I'm not sure. There are definitely other apps that do backups and uninstalls. So you could always back up the app, uninstall it, and restore it if it's not the problem. Of course, you can screw up your system if you mess with a system app (though not permanently as the device/filesystem/etc. will be fine). –  Matthew Read Feb 22 '11 at 15:07

When your phone wont go to sleep, check for wakelock using apps. Programs like "Wakelock detector" will help you to do that. Good luck!

Reference: Wakelock , Wakelock detector

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.