I've been going back and forth and trying to figure out what the issue is, but I'm wondering if anyone else is having Deep Sleep issues when using CM9 on the GSM Galaxy Nexus? I can restore my Nandroid of stock 4.0.4 with the UGLC1 modem and according to CPU Spy I have no problem going into Deep Sleep and having a high deep sleep percentage. I'm using the 20120518 CM9 nightly and I just can't seem to manage deep sleep. I went into CWM formatted /system, /data, and /cache. I then ran the jBroid kernel cleaning script and installed CM9. Did a factory data wipe and then booted it up. I didn't install gapps and used ADB to install CPU spy. So no google account or anything. I turned on WiFi, reset the timers in CPU Spy and left the phone alone for at least an hour. After an hour I had a sleep time of 3%. Any thoughts or solutions?
Is it staying fully connected. It might be disconnecting and reconnecting not allowing the phone to sleep.
Sent From My Sprint Galaxy Nexus via XDA Premium
Is there a way I can check this? This could be possible, but it seems like it should be causing stock 4.0.4 to never deep sleep and not just CM9. I might have to try CM9 with some different kernels and see.
duowing said:
Is there a way I can check this? This could be possible, but it seems like it should be causing stock 4.0.4 to never deep sleep and not just CM9. I might have to try CM9 with some different kernels and see.
Click to expand...
Click to collapse
It could be a bad flash. Redownload it and reflash wiping clean... data dalvik and formatting the /system. Then see what happens. If that doesn't work try the samurai kernel .
Sent From My Sprint Galaxy Nexus via XDA Premium
deep sleep cpu spy
I was having the same issue with CM9. I was showing 45% 350mhz 45% deep sleep on CM9 but when on stock I was deep sleep 80%+. I reset the cpu spy timers and now after 18 hours cpu spy time I'm back at 80% deep sleep.
Jeff
Related
So after using about 3 GB kernels (Nubecoder, mkasick, IAP) for the past few days, I've noticed that my CPU Spy app has not detected any deep sleep frequencies whatsoever. Is this normal? Because from what I can remember, past Froyo kernels I've run have always used deep sleep frequencies when left idle.
Sent from my SPH-D700 using xda premium
From what I've read, we don't literally use deep sleep, but I believe it can be done by a kernel dev taking source from a modified nexus kernel. To my knowledge, our epics aren't really ever entering deep sleep (unless you count shutting off your phone as deep sleep, lol) just a hibernation-ish sleep? Like a pre-quel to deep sleep, but no 'true' deep sleep with the kernels we have at the moment. I sure do wish a kernel dev looked into it though. The battery savings would be insane that it even makes ME want to cook the code into the kernel if I had the proper experience.
Sent from my SPH-D700 using XDA App
No that is not normal. If you have the phone off charge, screen off and not using it for about 15 minutes, some deep sleep should be seen in CPUSpy. It does not sleep while on charge. If you cannot obtain deep sleep according to CPUSpy you should Odin back to stock and move forward from there or get better battery stats and try to find out what is keeping your phone awake. Perhaps a bad sync or chat app like gtalk, google + or something like that.
Tried CM9 RC2 and Full Throttle 7.1, the same thing happened:
I unplug my phone in the morning after browsing for a few things, then left the phone basically idle for a few hours. Then use it for a few minutes of different activities. For the first few hours the phone goes into deep sleep, after I use it for a few minutes the phone will refuse to go into sleep again, awake until I restart it.
I have been using CPU Sleeper to force the phone into sleep, doesn't really help at all.
Any clue?
Install Better Battery Stats to help determine if an application is keeping your phone in wakelock.
drumist said:
Install Better Battery Stats to help determine if an application is keeping your phone in wakelock.
Click to expand...
Click to collapse
Thanks! it's a great app! trying it now!
any luck?
not yet, seems behaving as expected after installing the app. Still deciding between CM9 RC2 and Full Throttle 7.1, so may need a couple more trials to point things out.
I've searched around and can't find anything. I have a Sprint Galaxy nexus running Franco kernel and I look and on cpu spy in "unused cpu states"
deep sleep is in there, i'm not sure how to do about enabling that, ive checked in the franco kernel updater program and don't see anything. I'm not sure what i'm doing wrong, tried a couple kernels.
Some app must be running in the background that doesn't allow the cpu to sleep, is this on a fresh install?
I can help you... I complained about this like no other. What ROM?
Sent From My Toro+ via RED Tapatalk
I too have this issue running the latest aokp jb night lies on toroplus
Sent from my Galaxy Nexus using Xparent ICS Tapatalk 2
Download BetterBatteryStats. It will help you diagnose kernel and partial wake locks.
Kernel wakelocks are caused (you guessed it) by the kernel. Flash another kernel.
Partial wakelocks are wakelocks that occur from Facebook or other poorly coded and rogue applications.
Note: Wake locks caused by the system also fit into this category.
Note: BetterBatteryStats can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=1179809
Sent from my Galaxy Nexus using Tapatalk 2
infazzdar said:
Download BetterBatteryStats. It will help you diagnose kernel and partial wake locks.
Kernel wakelocks are caused (you guessed it) by the kernel. Flash another kernel.
Partial wakelocks are wakelocks that occur from Facebook or other poorly coded and rogue applications.
Note: Wake locks caused by the system also fit into this category.
Note: BetterBatteryStats can be downloaded here:
http://forum.xda-developers.com/showthread.php?t=1179809
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It's actually not a wakelock. It's an issue with the proprietary applications required on CDMA phones. I realized this when I rebooted with airplane mode and my deep sleep instantly returned, but just as quickly disappeared when turning it back off. The fix for this "deep sleep" issue is quite annoying. Wipe clean and reflash your ROM only and gapps of course. Then boot up. Once finished boot back into recovery and fix permissions. Wipe cache and dalvik. Then flash your kernel and that should fix things temporarily. Every time you reboot things will reset. And the process of fixing permissions and such will need to be done again. If this doesn't work. I'd suggest using CM10 as I have only seen it present in AOSP based ROM's.
Sent From My Toro+ via RED Tapatalk
Hello. I have compiled my own build from source 4.1.2_r1 using the binaries from JR003R. My phone will not deep sleep with stock or custom kernels. Curious if anyone has had any issues with this? Thanks
flyinj54 said:
Hello. I have compiled my own build from source 4.1.2_r1 using the binaries from JR003R. My phone will not deep sleep with stock or custom kernels. Curious if anyone has had any issues with this? Thanks
Click to expand...
Click to collapse
What does battery stats list as draining battery?
Swype'ed on my CM10 Galaxy Nexus
Using Gsam battery monitor. Shows 25% drain is kernel but also shows held awake @ 9%. Showing phone @ 4% with number of wake locks 389. Seems excessive. I'm not sure if held awake is when you are using the phone or what exactly that means.
Using LeanKernal as of right now 230mhz. Cpu spy shows 230mhz for almost all usuage with phone screen off and no deep sleep at all.
Edit: It has to be in my build. Flashed another users build and deep sleep works fine. Going to give another repo sync and fresh compile and give it another shot. Thanks
i'm running my own build as well and i dont have deep sleep issues, but naturally more testing is needed. bbs shows nothing to note and cpuspy also seems normal.
also, i'm not running straight stock kernel. sched sio/gov interactive.
used gcc 4.7. new kernel srcs havent been uploaded yet, afaik.
same apps that on JRO03R, just formatted /system and flashed.
sent from my i9250
After upgrading to Milestone6 and running the latest CNA 3.6.6, my phone has HORRIBLE battery drain while in deep sleep. I have looked at startup programs, BBS, CPU spy and I can't find anything showing what is causing it. I reverted back to r284-test and everything is working smoothly and no issues. The drain usually happens on wifi (overnight ~30% decrease) I can't figure anything out.
Does anyone else have this issue? If so, anyway to fix it?
Thank for any help out there
AutomaticFailure27 said:
After upgrading to Milestone6 and running the latest CNA 3.6.6, my phone has HORRIBLE battery drain while in deep sleep. I have looked at startup programs, BBS, CPU spy and I can't find anything showing what is causing it. I reverted back to r284-test and everything is working smoothly and no issues. The drain usually happens on wifi (overnight ~30% decrease) I can't figure anything out.
Does anyone else have this issue? If so, anyway to fix it?
Thank for any help out there
Click to expand...
Click to collapse
try to wipe battery stats in cwm recovery
or
callibrate using battery callibrate apps in playstore
good luck
AutomaticFailure27 said:
After upgrading to Milestone6 and running the latest CNA 3.6.6, my phone has HORRIBLE battery drain while in deep sleep. I have looked at startup programs, BBS, CPU spy and I can't find anything showing what is causing it. I reverted back to r284-test and everything is working smoothly and no issues. The drain usually happens on wifi (overnight ~30% decrease) I can't figure anything out.
Does anyone else have this issue? If so, anyway to fix it?
Thank for any help out there
Click to expand...
Click to collapse
get gsam from the playstore, that should tell you exactly what it is
After some tinkering around, flashing new roms and such... I have come to find out it was Tasker. It has never done it before but I had a profile set to when "I come home, turn on wifi" It worked on the other roms, so I made no changes. It found it through the cell towers, but for some reason, it would turn my wifi on/off throughout. Removed that profile and inturn am using Llama for my location based issues. Seems to be working just fine now.
CNA'm using 3.6.6 + stable trinity 63, the battery is long lasting one and a half ...
Sent from my Galaxy Nexus using xda premium