Weird wakelock, no deep sleep - ASUS ROG Phone II Questions & Answers

Hi Guys. Im on Lineage OS and i my phone cant go to deep sleep. In BBS i have this weird wakelock. Someone know how to find whats going on?

Ok, after few reboots wakelock is gone, if someone know what was that i would to know too

I am getting the powermanager wakelocks, same as shown in the photo, is that a concern ?

Related

[Q] Deep sleep issue in CM 6.3.2

Hi there,
i have a problem with my milestone and cyanogenmod 6.3.2 (and the same in earlier versions of this rom).
After flashing the rom, deep sleep works for a few hours, and after that, without doing anything special, my phone doesnt go to deep sleep at all.
When i take a look at the battery stats, there is "running" with 100 percent, and partial wake usage is fully accounted to "android system".
I tried to restart after charging the phone, but it doesnt help. With stock rom, i have normal deep sleep accounting for about 80 percent of usage time.
Anyone has an idea how to fix it?
auber45 said:
Hi there,
i have a problem with my milestone and cyanogenmod 6.3.2 (and the same in earlier versions of this rom).
After flashing the rom, deep sleep works for a few hours, and after that, without doing anything special, my phone doesnt go to deep sleep at all.
When i take a look at the battery stats, there is "running" with 100 percent, and partial wake usage is fully accounted to "android system".
I tried to restart after charging the phone, but it doesnt help. With stock rom, i have normal deep sleep accounting for about 80 percent of usage time.
Anyone has an idea how to fix it?
Click to expand...
Click to collapse
What app you used to see this "battery stats"? If you have a SS or a LOG it would help us to help you.
it's the built-in battery history that can be accessed via spare-parts. i dont know if and where this is logged somewhere as a file.
more information to deep sleep problem
auber45 said:
Hi there,
i have a problem with my milestone and cyanogenmod 6.3.2 (and the same in earlier versions of this rom).
After flashing the rom, deep sleep works for a few hours, and after that, without doing anything special, my phone doesnt go to deep sleep at all.
When i take a look at the battery stats, there is "running" with 100 percent, and partial wake usage is fully accounted to "android system".
I tried to restart after charging the phone, but it doesnt help. With stock rom, i have normal deep sleep accounting for about 80 percent of usage time.
Anyone has an idea how to fix it?
Click to expand...
Click to collapse
After updating to 6.3.3 I figured out that deepsleep worked until the first reboot. I also noticed that, after restoring 6.3.2 with nandroid, deepsleep also worked before I rebooted for the first time.
Anyone has the same problem or any suggestions (except 'dont ever reboot')?
I had the same issue on 6.3.2. After upgrading to 6.3.3 and playing with wifi settings the deep sleep started to work. One more thing I did was going into sleep mode with CMMod extended button (Zzz on notification bar)
zwirek75 said:
I had the same issue on 6.3.2. After upgrading to 6.3.3 and playing with wifi settings the deep sleep started to work. One more thing I did was going into sleep mode with CMMod extended button (Zzz on notification bar)
Click to expand...
Click to collapse
thanks for your response. can you tell me what exactly you did with wifi settings? i also tried going to sleep mode with Zzz button in notification bar, but it doesnt work (screen turns black, but cpu runs at 250 mhz, and no deep sleep).

Application Activity

Hey people, is there an application or some way that can show me how long a particular application has been online?
I am having problems with waking of the phone which causes it to end deep sleep. Trying to determine which application causes the wakes and wether I need it or not.
Try Betterbatterystats. It shows what keeps your phone from going into deep sleep.
http://forum.xda-developers.com/showthread.php?t=1179809

No deep sleep -> how to identify the cause?

Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
mr72 said:
Hey guys --
I did a search and while there is much discussion of deep sleep problems, there is no clear way I could easily find to identify the cause.
I have CM7.20, the MiRaGe latest build on my NC, with the settings listed in my thread (see the sig). Recently I noticed that it is not entering into deep sleep, indicated by losing ~20% battery while it is asleep overnight in about 8 hrs. Battery results tell me it's "WiFi" taking like 30% of the battery, which seems quite odd, since I had it set to turn off WiFi while the screen off unless connected to the charger.
Any clues on how to identify the problem with deep sleep?
As for usage, I am using my NC 99% of the time with the following apps:
Moon+ Reader (probably 70% of time)
YouVersion Bible app (most of the rest of the time)
Dolphin Browser HD (maybe 2% of the time)
Enhanced Email and MailDroid - very occasionally but they are checking mail on 15 min intervals when wifi is on.
I have a ton of other apps installed but I almost never use them except for these.
Any help on how to determine what is causing the NC to not go into deep sleep will be immensely helpful. I have a 2-week Euro business trip coming up next month and I would really like to solve this before then.
Thanks!
Click to expand...
Click to collapse
envygreen said:
Better Battery Stats might help. Try turning off sync before bed and see if you still lose 20%. If so, it's definitely some app that's the culprit. Grab something that will tell you what program is using data and how much/how often and you should be able to isolate it pretty quick.
Click to expand...
Click to collapse
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
mr72 said:
OK, but it should be turning off wifi, and therefore sync for ALL apps, when it is asleep. Can an app override this setting? That's my guess, is some app is doing this. How can I ID that?
Click to expand...
Click to collapse
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
leapinlar said:
Like envygreen said use that app to track wakelocks. Even if wifi is off, some app may be applying a wakelock to try to sync.
Click to expand...
Click to collapse
Alright, I'm on it
So last night I finished charging it and read for a couple of minutes, then put it to sleep to see how it went overnight.
My Wi-Fi sleep policy is set to turn off wifi when the display is off.
When I got up this morning I checked it and it had lost over 10% battery over night, and I checked BetterBatteryStats and I think it is going into deep sleep but maybe not shutting off wifi.
I have attached the screenshots from BetterBatteryStats, and I think I need help interpreting them and finding the cause.
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
mr72 said:
ok, so here I am replying to my own thread... If I am reading this right it seems to be looking like my wifi is on the entire time, not only when the screen is on. Is this the right way to read this? In this case, it looks like "Wi-Fi sleep policy" being set to "When screen turns off" is not actually working... right?
Click to expand...
Click to collapse
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
leapinlar said:
It sure looks that way to me too. It says wifi on 8 hours. Did you try toggling the setting a few times? Also you are on Mirage and he may have done something in his tinkering that messed that setting up.
Click to expand...
Click to collapse
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
mr72 said:
yeah I did toggle the setting on and off, and in fact before I had it set to "On during sleep if plugged" for a long time, recently changed it, thinking maybe this was the cause.
But it does appear that maybe this is what is killing the battery. There doesn't appear to be any network activity when the screen is off, just looks like the wifi radio is powered up.
Any advice?
Click to expand...
Click to collapse
Switch to CM7.2 stable?
leapinlar said:
Switch to CM7.2 stable?
Click to expand...
Click to collapse
Hmm. that seems like an extreme step, but maybe ... wonder how much of the snappiness I will lose.
EDIT: OK I switched to CM7.2 stable. Nice I didn't seem to lose any settings. Let's see how it goes. Thanks for the advice, I'll report back here if it still does the same thing.
Also uninstalled beautiful widgets... figured maybe that could be causing an issue.
Oh, and I probably had a SOD kernel patch applied... perhaps that was the problem too
guess I should change only one variable at a time for a good test, but in reality I just want to get it fixed and not really diagnose it.
I was having a similar problem...what I did was run the V6 supercharger script, granted i am running CM9 atm but it took care of any problems I had with battery life and wifi signal.
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
ewingr said:
Question: does having WiFi on keep the phone from going into deep sleep at all?
I have found that my phone is not going into deep sleep. I checked what is holding wake locks, and the time with wake locks is way less than the time the phone has the screen off, so it appears it is not deep sleeping, even though there are not wake locks.
I have an extended battery, so I get good battery life, but always interested in improving it. But I also have this thought that if I have to turn everything off, and only synch when I turn the screen on, that is not ideal either.
Click to expand...
Click to collapse
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
leapinlar said:
Get CpuSpy free on play store. It will tell you exactly how much deep sleep you are getting.
Having wifi on all the time should not prevent deep sleep. Only when things use it does it come out of deep sleep.
Click to expand...
Click to collapse
I have CPUSpy Free, and that is how I know I am not getting deep sleep. My challenge now is to identify why.
OK, so it seems that CM7.20 stable definitely fixes things. I didn't flash the SOD fix, so maybe the SOD fix was preventing deep sleep before, or maybe something else in the kang build was preventing deep sleep with wifi on when the screen is on.
However the better battery stats still seems to say my wifi is never actually going off. I am not sure I am interpreting the results correctly. It looks like the wifi is on all the time even though it's set to turn off when the screen is off. But I can let the NC sit on my night stand overnight and lose only a couple of % where it was like 10+% before. I still think my problem was due to some app that updated and not the ROM because the problem started weeks after I last updated the ROM.

f-kernel 1.5.1 phone constantly waking up from deep sleep

Hello,
since i flahsed this kernel, the phone works, but it wakes up from sleep mode all the time, causing the battery to discharge very fast. Is there a solution for this?
grtz,
Mark-1978
mark-1978 said:
Hello,
since i flahsed this kernel, the phone works, but it wakes up from sleep mode all the time, causing the battery to discharge very fast. Is there a solution for this?
grtz,
Mark-1978
Click to expand...
Click to collapse
http://forum.xda-developers.com/galaxy-nexus/general/kernel-wakelocks-t1462020
Imho an even better explanation on the whole wakelock issue and how to solve (some of) them:
http://forum.xda-developers.com/showthread.php?t=1827676
We need more information what's causing the wakelocks, before we can (try to) help.
→ Install Better Battery Stats and let it run a few hours.
the solution was disabling home button wake up screen in Android cyanogen version. Thx for Reading.

PowerManagementService.Display wakelock

Hello people
I am new to the wakelocks and stuff thats why i dont know anything about wakelocks.
But there is one wakelock that is preventing my phone from going into deep sleep, the one in the title.
Can someone please explain what is the purpose of this wakelock?

Categories

Resources