• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Cm7 wont deep sleep

konspiracy

Android Enthusiast
I am on the stock kernel with app2ext most apps are on ext and I have wiped the cache and uninstalled all apps that are were junk.
Im using cpu spy and it shows that my phone throttles to the lowest clock speed but it doesn't deep sleep.
I have tried 2 other kernels and they all have the same problem.
 
DOH Im a dumb ass, I had the phone plugged in and when I unplugged it, it went into sleep mode just fine.
Thanks mod please delete if you wish.
 
DOH Im a dumb ass, I had the phone plugged in and when I unplugged it, it went into sleep mode just fine.
Thanks mod please delete if you wish.
Nah, It's the simple mistakes we always overlook. Plus leaving that thread around means others can learn from the same mistake.
 
lol, yeah the other known problem is having wifi on prevents it too.
I gather that this is even when Wifi Sleep Policy is set to "When Screen Turns Off"? I know that wif is turning off, as the indicator is gone from the screen upon Wake, and takes a few seconds to pop up and reconnect. However. CPU Spy still shows lack of Deep Sleep.

Why is it that it won't deep sleep under these conditions?
 
I gather that this is even when Wifi Sleep Policy is set to "When Screen Turns Off"? I know that wif is turning off, as the indicator is gone from the screen upon Wake, and takes a few seconds to pop up and reconnect. However. CPU Spy still shows lack of Deep Sleep.

Why is it that it won't deep sleep under these conditions?

It's a bug on our phones. Considering how half-baked the stock ROM is with all the problems, at least most of them are fixed with CM7, but our devs don't have access to the source code to proprietary drivers like wifi.
 
Thank you Whyzor. I gather that means that ICS (or any other OS) will not fix the issue either?
 
Thank you Whyzor. I gather that means that ICS (or any other OS) will not fix the issue either?

Not sure, it's possible another dev will pick it up, or it'll be fixed on another device and we use the same drivers, or we get an updated driver from a newly released phone has similar hardware as the MT.
 
Not sure, it's possible another dev will pick it up, or it'll be fixed on another device and we use the same drivers, or we get an updated driver from a newly released phone has similar hardware as the MT.

I am hoping so. That is really the only other thing I would like to get fixed.

I don't understand why the source code is so safeguarded.. What Motorola release as "source code" can barely be called one. It's not very helpful.

Hopefully a similar phone with similar hardware will be released and may help us out.
 
Whyzor, do you think you are getting close to obtaining a fix for the wifi deep sleep bug?

No, I wouldn't put high hopes on that. I believe TG looked into the wifi, and in order to get it to work properly he put in the code to keep wifi wakelock. My normal usage is to leave it off & turn on only when I need it. Maybe someone else who knows their way around the wifi module better than I can dig into it.
 
Would there be an app (other than Juice Defender) that would turn wifi off when screen is off and toggle it back on when screen is turned on? That would be an ideal temporary workaround.. since the wake lock seems to also affect setting Wifi Sleep Policy to off when idle.
 
I use Timeriffic to set Wifi on and off based on my schedule when I'm at home or at work. Here's my setting:
6:30 am Mon-Sun, Wifi On
8:30 am Mon-Fri, Wifi Off
6:10 pm Mon-Fri, Wifi On
12:01 am Mon-Sun, Wifi Off
 
If you download an app like tasker (I think there's one called setting profiles with a lite version), you can set it it so when you turn your screen off wifi will turn off.
 
What exactly is deep sleep say vs normal sleep?

I'm not super certain but I believe

Normal sleep, doesn't disable much but display and such, saving battery and all but not alot, keeps the phone ready to go


Deep sleep is what it should do when ur asleep at night, after so long of no activity it should go into deep sleep which will kill all non system apps and the display and any wifi or Bluetooth radios, effectively almost causing no lose of battery(although there is always a lil battery lose)
 
I'm not super certain but I believe

Normal sleep, doesn't disable much but display and such, saving battery and all but not alot, keeps the phone ready to go


Deep sleep is what it should do when ur asleep at night, after so long of no activity it should go into deep sleep which will kill all non system apps and the display and any wifi or Bluetooth radios, effectively almost causing no lose of battery(although there is always a lil battery lose)

OHHHHHHHHH. My phone does not do that on CM9
 
OHHHHHHHHH. My phone does not do that on CM9

The phone will only go into deep sleep if there's nothing preventing it from going into deep sleep. If your phone running cm9, cm7, or miui is not going into deep sleep, the following may be reasons:

--you have wifi and/or bt enabled
--an app that you may have running is holding a wake lock and keeping your phone awake.
 
Like Juice Defender?



i personally never used juice defender, but the reviews ive seen on it do have a bunch that say it works fine but its doing something thats draining the users battery



you could always try uninstalling an app you believe is eating battery, id say uninstall it and run the phone for atleast 24 hours after the uninstall, if the battery is the same its not that app


There is also a few apps that i personally just dont like how they run, like the facebook app thats the big one for me, most apps sitting inside your cache are fine, there"asleep" holding a very small portion of memory so they can instantly restart, facebook app seems to always stay active when in the cache tho, always eats memory, which i believe is causing my phone to stay awake longer cause its trying to manage my apps
 
Juice Defender (paid) doesn't enable deep sleep on CM7 when it switches off WiFi & BT.

You use far less battery when it deep sleeps; I used Battery Spy and CPU Spy to measure.
 
Back
Top Bottom