5

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)

  • 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? – ale 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
1

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.

  • 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
1

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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