[Q] need help or advice on deep sleep problem - Defy Q&A, Help & Troubleshooting

Hey guys,
i am on latest CM9 quarx build..but my phone is not going into deep sleep atall
it says 0% deep sleep in CPUspy...tat has become a headache..i was on epi CM(..there also it had come problem..then installed latest quarx build..then it was going into deep sleep unto few hrs ago..now it says 0% deep sleep.
I cant few detailed battery drinking info on ICS unlike GB..
Any help would be appreciated name of the app..or advice..or any kind of help will do..
Thank you

Try editing your build.prop and adding
Code:
ro.ril.disable.power.collapse=1
Don't know if this will help , but in the event that it doesn't , try ending processes before locking the phone , or use some system analyzer to see what app is stopping deep sleep
Herpderp Adreno + Tegra.

thanks but i did a full data wipe and reinstalled everything from scratch..later restored apps with the help of titanium backup
its pain in the ass to do everything from scratch...anyways if still i face this problem then will report back..anyways could anyone suggest me some apps which can findout which app or process is the culprit?

Try this one:
http://forum.xda-developers.com/showthread.php?t=1179809

I had the same problem on CM7 120126.2206, and it turned out that Google Maps was the culprit. However, I discovered that Google Maps doesn't prevent the phone from going into deep sleep when the GPS is disabled. Try disabling GPS whenever you're not using it, and see if that helps.
Edit: after further testing, it seems that Google Maps may not have been the culprit after all, or I may have more than one problem with deep sleep. Occasionally the phone gets locked out of deep sleep even when GPS is turned off; yesterday it failed to enter deep sleep even while the phone was untouched for 4 hours. The "BetterBatteryStats" app indicated listed "wifi_wake" under Kernel Wakelocks as the primary culprit. Disabling then re-enabling wifi solved the problem, at least temporarily.

Related

Nook Color has Stopped Auto-Sleeping [CM7]

I'm running the latest CM7 nightly (110) and OC kernel (6/18) and recently my NC has stopped automatically sleeping after any length of time. I think it has also simply stopped sleeping altogether as pressing the power once turns the screen off just fine, but returning to it the next day the battery is completely dead and the device has turned off.
Has anyone experienced this issue yet? I've looked around a bit but was unable to find any solution to this problem.
Do you have Beautiful Widgets installed? That was preventing mine from deep sleep.
yeah, I fixed my deep sleep issues by not using live wallpapers. also I had found that turning off wifi, background data in accounts & sync and all animations can help. good luck.
cm7 n111 6/18 OC kernel 300/600/800/1100/1200 conservative
Awesome! I tried some of the things you guys suggested and it's sleeping again, thanks!

[Q] Deep sleep investigation app ?

Hi,
i tryed to investigate what app/process is always waking my phone from deep sleep.
is there may an app out there wich can do that ?
as u see in the screenshot theres something triggering like every minute ... while screen is off.
i can exclude my sync settings (exchange mail, gmail, facebook, greader, weather)
as i tryed disabling them all and no change
also checked logcat, but theres alot happening ...
thanks ahead
last time in sgs1, i use to be able to do that with Spare Parts. Under battery history, you can select to see which apps were keeping the cpu awake. But it doesnt work in sgs2 and seems to have ceased development.
Someone else wrote Spare Parts+, but the same battery history functions says something about incompatible rom.
CPU Spy does exactly what you want.
prodygee said:
CPU Spy does exactly what you want.
Click to expand...
Click to collapse
huh, i use cpu spy here, but cant find an option wich apps causing no deep sleep ...
all i see which modes been active and how long, like 40 min deep sleep, 5 min 200 mhz, ...
may a hint where to look ?
thanks ahead
someone has posted "battery history for gingerbread" you can use that to check partial wake usage - OR id suggest looking at logcat. ignore everything that scrolls at the beginning logcat will show only a few lines every minute or so - you should be able to find out whats happening there.
ok, after a long search what this could be i finally found it (1 day marathon installing ...)
its the latitude in maps wich is causing this ...
bad thing is, doesnt change when only turning it off, have to kill process and clear
data in app to solve the 1 min wakeup ... then maps is working normal and no more
wakeup´s from deep sleep, the reason why i didnt figured before ...
i hope google will fix this one day or give a choice how often it syncs ...
just in case someone is interested.
alturismo said:
ok, after a long search what this could be i finally found it (1 day marathon installing ...)
its the latitude in maps wich is causing this ...
bad thing is, doesnt change when only turning it off, have to kill process and clear
data in app to solve the 1 min wakeup ... then maps is working normal and no more
wakeup´s from deep sleep, the reason why i didnt figured before ...
i hope google will fix this one day or give a choice how often it syncs ...
just in case someone is interested.
Click to expand...
Click to collapse
Thanks for creating the thread.
How did you check that Latitude was awaking the device? By what app?
Everything was going fine for me till yesterday night it started to Awake again while screen is off. Believe me it really pisses me off. It's a disgrace of Android OS, ehh.
Here, why the underlined Reds are there? (Nothing is set to Auto Sync, No Widgets, No push-pull Email)!!!
I tried to see what's running and awaking the device and used these software's, SeeCPU, CPU Spy, 3G Watchdog, but none of them shows anything.
i know its a pain
also tested system panel, quick system info (logcat), ...
at the end i made an trial and error, installed one by one, started, rebooted, checked.
after each setting change same procedure ... after almost a whole day i activated
latitude and checked in there ... voila, only way to get rid of afterwards is clear data
on googlemaps app and turn latitude off ...
sorry that i cant help u further, but i gave up on all kinda apps checking ...
It's a PITA. I so hate it. Well I also will try to get rid of this damn Latitude stuff and see what happens further and post back.
Regards.
PS- Well how do you turn this latitude off? I can only Sign Out of it!
Try BetterBatteryStats.
I have similar battery graph like you, alturismo, but with the difference that it's not consistent 1min wake always, but certainy most of the time. Also tried different tools to find that out, but the only thing I figured is that maps are trigered by certain app_84 and app_68, but didn't found out what apps these are.
Nevertheless, I never checked to Latitude and the odd thing is that I have a high % usage on maps and Sygic (navigation) even though I haven't used them for weeks. So I'll try to clear data on maps now, thanks for the hint.
Update: I was indeed checked into Latitude. Seems that it was automatially set up after registering the google account. :S
dont forget to clear data in app settings from maps, otherwise the wakeups keep ...
then u can use maps normally again
Strange .. I simply sign off latitude (well it's a bit hidden option, but it is there) .. and latitude is KO. Also when I am on latitude, maps shows in apps in battery stats.

[Q] Deep sleep gone after play sarvices update

Is anyone having trouble with deep sleep after update of Google Play Services 5.0.77 ?
I've installed the apk from android police and since then my deep sleep is gone. Fortunatelly i've identified the trouble and uninstalled the version, but i would like to know if anyone else had trouble with this update.
Note: I've tried to install it many times and it always vanishes my deep sleep.
prog19 said:
Is anyone having trouble with deep sleep after update of Google Play Services 5.0.77 ?
I've installed the apk from android police and since then my deep sleep is gone. Fortunatelly i've identified the trouble and uninstalled the version, but i would like to know if anyone else had trouble with this update.
Note: I've tried to install it many times and it always vanishes my deep sleep.
Click to expand...
Click to collapse
My phone (Nexus 5, Cyanogenmod 11 M7) update Google Play Services automatically to 5.0.84 and I've had the same issue. Over the course of today, it's used a good deal of my battery and prevented my phone from sleeping. I've tried changing my location settings, disabling wi-fi (and wi-fi location) and nothing seems to allow my phone to sleep.
I remember having this problem before, but I was thinking that I simply restarted it to fix it. That's not doing anything this time.
This is working for me on CM11 M7. Install Disable Service then go to "system apps" > "Google Play Services" and check "SystemUpdateService".
I tried disabling location services and related settings one at a time to try to figure out what exactly was causing the problem, but none of that worked. Eventually I uninstalled the updates to Google Play Services and that let my phone go back into deep sleep. After that, I re-enabled my settings, one at a time, to see if one of them triggered the problem again. Fortunately, I've enabled everything that I had before and my phone seems to be deep sleeping like normal.
Once again note that I am using a Nexus 5 rather than a 4, but I would think that the solution could work on both.

high awake time

On every rom based on lineage I have had pretty much constant awake time even thru the overnight hours and with greenify aggressive doze. I've tried just about all I can think of, I'll lose about 7 or 8 percent overnight where on stock it's around 3 percent
Is anyone else experiencing this? Is it common? Also the only thing to come up on wake lock detector is a Google service on wake up triggers
Any insight would be appreciated.
I don't know if it applies to all ROMs, but make sure you delete the systemapp for NFC. It's likely trying to communicate with your nonexistent NFC chip. I noticed my phone would never enter deep sleep, deleted it, and now it enters deep sleep seconds after shutting the screen off.
username8611 said:
I don't know if it applies to all ROMs, but make sure you delete the systemapp for NFC. It's likely trying to communicate with your nonexistent NFC chip. I noticed my phone would never enter deep sleep, deleted it, and now it enters deep sleep seconds after shutting the screen off.
Click to expand...
Click to collapse
I'm trying to locate it, found the around nfc app but it doesn't come up in titanium
I used Link2sd to unistall it. It's called NfcNci.apk. once i unistalled it, the phone went to sleep.
isTos said:
I used Link2sd to unistall it. It's called NfcNci.apk. once i unistalled it, the phone went to sleep.
Click to expand...
Click to collapse
Worked like a charm. Thanks!
This def fixed my deep sleep issues. Thanks!
Here's a flashable zip you can use to remove NFC. I made it for use with ROMs that have a built in updater with a flash after update feature. This way ROM updates won't re-enable NFC. Tested it on AospExtended but should work on other ROMs as its designed to just remove the NFC apk from system.
Flash from recovery:
https://drive.google.com/file/d/0B3WSJXjA-ygYUjNoZ3F3c0VIWDg/view?usp=sharing
I did not create this zip but edited one that I found from here:
https://forums.oneplus.net/threads/flashable-zip-to-remove-apps.419810/

Deep sleep problem

The phone (Mi Mix 5g) is struggling to go into deep sleep and occasionally registers 0% in accubattery stats (for 'deep sleep'). I have followed all the guides and threads posted here and tinkered with all the obvious settings. The phone is not rooted and running stable android 9 MIUI 10. Sometimes I get 98% deep sleep which is what I am looking for, other times I get 40-60% (not acceptable) and other times 0%. I have installed Greenify to try and shutdown apps but something seems to be hampering it, everything is greenified accept battery stats and Nova. I do get a notification on greenify to say that the screen lock was to fast for greenify to operate but I cannot see any setting in MIUI10 to change the time between sleep and turning off the screen (although I do remember seeing this on previous android versions).
Any clues as to what is causing this and how I could go about diagnostics to see what service/app is causing the issue.? As i said before I have tried hard reset, soft reset before sleep and all the settings outlined in previous posts here on the forum. One possible issue is poor reception inside the house which causes it to jump bands regularly, could this be waking the phone up in deep sleep?
eagerly awaiting your suggestions.
Might be good play services. Have you tried stopping them and erasing the data?
Sent from my Mi MIX 3 using Tapatalk
PWn3R said:
Might be good play services. Have you tried stopping them and erasing the data?
Click to expand...
Click to collapse
Thanks for your reply, I had seen this and cleared the cache of the play services as mentioned in another thread. Did not seem to have any noticeable effect for me.
Small update for anyone experiencing similar woes. I changed the setting in clear recent apps from 'after 10 mins' to 'never' which seems to have had effect, since this I have been getting multiple +60% deep sleep figures. Reset the phone yesterday evening which produced 96% deep sleep result. This is acceptable and what we are seeking however resetting the phone nightly is not.
Update.
I have resolved this by going into data usage - system apps and clearing the cash of the top data users. Also clear cache on play services and play store. I am now achieving deep sleep in the region of 90-100% of screen off time.
pow01 said:
Update.
I have resolved this by going into data usage - system apps and clearing the cash of the top data users. Also clear cache on play services and play store. I am now achieving deep sleep in the region of 90-100% of screen off time.
Click to expand...
Click to collapse
Additional update.
The problem appears to be intermittent and requires regular maintenance using the steps above combined with soft reset.

Categories

Resources