No Deep Sleep under LOS20? - Nokia 6.1 (2018) Questions & Answers

Observed this just now. Don't remember on previous LOS if it was like this.
ArE your units on LOS20 also not going to deep sleep when idle?
Solved see next post - not necessarily an LOS20 issue.

Got deep sleep back - removed unrestricted battery to a chat app and now all is normal.

Related

[Q]Android OS

Last night, around 2am, I unplugged my phone from the charger before i went to sleep (it had WiFi on) and now when I woke up and checked it at 1:30pm the next day, I had 35% battery left! WHAT!? checked battery stats and Android OS ate up 51%! with phone idle at 12%
anyone have any idea what's going on? I have everything except WiFi turned off, GPS, Location Services, Auto-Sync, Auto-Backup, everything. I also underclocked everything via cpu master and trickster mod. I greenified facebook, viber, skype and any other app that could potentially wake my phone from deep sleep.
I checked trickster mod, deep sleep was at around 5hrs with 162mhz at around 7hrs. don't have any screenies of those since I rebooted my device right after I plugged in the charger (helps with displaying correct percentage)
I've attached a screenshot. I've never seen that kind of downar plunge in my battery stats. ever. this is the first time it's ever happened.
I'll install wakelock detector and give it a few hours. I know my phone drains around 1%/hr while idle, maybe even less.
EDIT: I already started when I took the second screenshot. I forgot to take a screenshot of the rest of my battery stats. so don't mind the time and the difference in battery percentage.
that's kernel problem. I meet that problem before, while I'm using AK-kernel with Vanir ROM. Kernel make screen always on to increase respond for S2W and Double Tap to Wake, but also cause this problem. In Android 4.4.2 also have this issues ( Nexus 4 and Nexus 5 is an example, you can search Google for this ).
You can install Better Battery Stats to check wakelock issues, but you can't do nothing, unless you have to changed to another kernel
BIBUBO BCJ said:
that's kernel problem. I meet that problem before, while I'm using AK-kernel with Vanir ROM. Kernel make screen always on to increase respond for S2W and Double Tap to Wake, but also cause this problem. In Android 4.4.2 also have this issues ( Nexus 4 and Nexus 5 is an example, you can search Google for this ).
You can install Better Battery Stats to check wakelock issues, but you can't do nothing, unless you have to changed to another kernel
Click to expand...
Click to collapse
don't have S2W and knock on enabled on my kernel. I also tried those and their battery drain is nothing compared to this!
I've charged my device and now it's showing Google Search as the culprit. now looking for a solution.
vangeodee said:
don't have S2W and knock on enabled on my kernel. I also tried those and their battery drain is nothing compared to this!
I've charged my device and now it's showing Google Search as the culprit. now looking for a solution.
Click to expand...
Click to collapse
what's your kernel ?
BIBUBO BCJ said:
what's your kernel ?
Click to expand...
Click to collapse
Solid Kernel + Stock 4.1.2 with a few xposed modules. I've solved the problem. Had to completely turn off Google Now and blocked wakelocks from Google Play Services.
I'll give this 3 hours and see if it goes back to the 1%-1hr idle drain. Battery stats seems to have improved, I'll post my post-fix battery stats in around 5 hours just to check if the problem comes back.
aaaaaaaaaaand it's back. This time it's not Android OS but Google Play Services that's eating the battery up. I now get 2%/hr with this new problem.
I checked trickster mod and my phone is not entering deep sleep. checked wakelock detector and it showed GCMSEND as keeping the phone awake. (1h 52m out of 2h)
Anyone know a fix for this? I've currently filtered it in Wakelock Terminator and I'll see how it goes from there.
UPDATE:
22 mins in and phone is in Deep Sleep 84% of the time. filtered GCMSEND and added 2 lines to build.prop that supposedly improves deep sleep.
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
Source: http://forum.xda-developers.com/showpost.php?p=46301722&postcount=2
Will leave it overnight to see if it stays this way.
yeah, noway to fix it because it was an issues of kernel.
If GCMSEND always running, you can downlod app called Disable Services, and Open it to disable some service in Google Play Store and another system app. Try it and will see if it's working.

Deep sleep issue on stock 6.0 (Z008)

Someone help me! I'm facing a deep sleep issue. I have been monitoring for days and this is the result (attachment). I enabled Intel Deep Sleep before. I'm not talking about the SoT because it depends on my daily usage. But my deep sleep seems....bad. The weird thing is: CPU Spy shows deep sleep at 54% (see attachment).
My info: Z008 4.21.40.122, Boretsx kernel, Govenor interactive_pro. Ondemand seems the same.
I disabled all in Autostart manager, except Superuser, Greenify and Amplify.
The battery seems to drain faster while screen on in the time period when the deep sleep issue happens. In the time period when deep sleep issue doesn't happen, the battery drains more slowly
this is a very common issue. some people do not factory rest device after updating firmware. factory reset your device. you will definitely get the issue resolved. if that do not helps, the other thing u can try is you can let the battery drain completely. then charge it for 5 to 8 hours without turning on mobile
HungNgocPhat said:
Someone help me! I'm facing a deep sleep issue. I have been monitoring for days and this is the result (attachment). I enabled Intel Deep Sleep before. I'm not talking about the SoT because it depends on my daily usage. But my deep sleep seems....bad. The weird thing is: CPU Spy shows deep sleep at 54% (see attachment).
My info: Z008 4.21.40.122, Boretsx kernel, Govenor interactive_pro. Ondemand seems the same.
I disabled all in Autostart manager, except Superuser, Greenify and Amplify.
The battery seems to drain faster while screen on in the time period when the deep sleep issue happens. In the time period when deep sleep issue doesn't happen, the battery drains more slowly
Click to expand...
Click to collapse
If you like Stock Firmware, just flash RussianBear + Greenify + Amplify..
6-7 SOT + ~24-30h iddle.
Epic battery!
gREENNNNN said:
If you like Stock Firmware, just flash RussianBear + Greenify + Amplify..
6-7 SOT + ~24-30h iddle.
Epic battery!
Click to expand...
Click to collapse
Yes, i'm using RNB
But something weird happened. I left it charge overnight, very slowly. In the morning, it reaches 74% and now it's perfect again

Deep sleep issues?

Hi guys...
My phone won't go into deep sleep and I use the app CPU Spy Reloaded to check with.
Others with the same problem?
/CK
No problem with deep sleep here. I used 6% battery power last night. I normally put my phone on the charger when I go to sleep but forgot to. Noticed it was at 58% when I last put it down and right now it's at 52. I slept for 6 hours. Not bad I'd say. Getting close to iPhone awesome standby usage.
I had to greenify some apps. Problem solved ?
/CK
Mine on idle isn't great either. Looks like as default a lot of my apps weren't being put to sleep. Did a search in settings for "sleeping apps" and added most to sleep. Let's see if that'll fix it.
Sent from my SM-N975U1 using Tapatalk
It's a Samsung. Give it a couple of weeks and it will calm down by itself
My phone had trouble with very bad standby time. Coming from a P30 Pro,that lost 1% while i was asleep,to note 10 plus that kept loosing over 8% in the nighttime while i was asleep.
I simply gave a reset network settings,reset settings and after that a factory reset with no backup whatsoever..just set it up like a new phone and this fixed it for me.
I used Gsam battery monitor and before this my phone would not go into deep sleep,and now it did the whole night and lost just 2%:fingers-crossed:

General Known issues/bugs that prevent deep sleep

Since I already made several posts / topics regarding issues on my phone with deep sleep, I was able track down different issues and scenarios which prevented the phone from going into deep sleep.
Thanks to
@Freak07
@Lughnasadh
@RetroTech07
@TNSMANI
@craznazn
ProxyHandler gets stuck after a reboot
Link: https://support.google.com/pixelpho...oxycontroller-wakelock-draining-battery?hl=en
Basically every now and then the "ProxyHandler" will get stuck after a reboot and prevent the phone from ever going into deep sleep.
Fix:
To temporarily fix this go into airplane mode and reboot again. Disable airplane mode after the reboot and use your phone until the next reboot
When the screen gets stuck at 60Hz
I wasn't able to figure out which service is keeping the device awake.
But I did track down that the 60Hz stuck-issue is also prevent the phone to going into deep sleep.
Fix:
Reboot the phone
I will update this post when new bugs get reported or figured out.
In my testing it doesn't seem like "Naptime" will fix or help with any of the issues.
Also in my testing it seems like "Naptime" in general doesn't do anything regarding battery drain / deep sleep.
So far I have been using BBS to track down most of the issues.
To use BBS on Android 12:
Install BBS
Grant all permissions
Run in adb: adb shell settings put global hidden_api_policy 1
Reboot phone
Everything except kernel wakelocks will work
Utini said:
Since I already made several posts / topics regarding issues on my phone with deep sleep, I was able track down different issues and scenarios which prevented the phone from going into deep sleep.
Thanks to
@Freak07
@Lughnasadh
@RetroTech07
@TNSMANI
@craznazn
ProxyHandler gets stuck after a reboot
Link: https://support.google.com/pixelpho...oxycontroller-wakelock-draining-battery?hl=en
Basically every now and then the "ProxyHandler" will get stuck after a reboot and prevent the phone from ever going into deep sleep.
Fix:
To temporarily fix this go into airplane mode and reboot again. Disable airplane mode after the reboot and use your phone until the next reboot
When the screen gets stuck at 60Hz
I wasn't able to figure out which service is keeping the device awake.
But I did track down that the 60Hz stuck-issue is also prevent the phone to going into deep sleep.
Fix:
Reboot the phone
I will update this post when new bugs get reported or figured out.
Click to expand...
Click to collapse
Please check whether the A12 update fixes any of your issues.
TNSMANI said:
Please check whether the A12 update fixes any of your issues.
Click to expand...
Click to collapse
I intend to do so. Will get released in one week for Pixel 6 Pro. So I still have to wait ;-)
Don't seem to have any issues with deep sleep, unlocked 512Gb version.
Utini said:
In my testing it doesn't seem like "Naptime" will fix or help with any of the issues.
Also in my testing it seems like "Naptime" in general doesn't do anything regarding battery drain / deep sleep.
So far I have been using BBS to track down most of the issues.
To use BBS on Android 12:
Install BBS
Grant all permissions
Run in adb: adb shell settings put global hidden_api_policy 1
Reboot phone
Everything except kernel wakelocks will work
Click to expand...
Click to collapse
In general, Naptime, and similar apps, have not really been needed since Android 10. In my experience, they can do more harm than good, for what it's worth. A properly running OS with properly running apps shouldn't need apps like this nowadays. If you feel the need to use apps like this then something else is wrong. These types of apps only address the symptom, not the cause (Rocky Horror flashback ).
Just my opinion...
Does anyone know if poor signal strength prevents deep sleep or causes the phone to take longer into deep sleep?
Could it be that countries where the pixel is not official being sold somehow affect deep sleep?
It is weird because usually I am like 65% deep sleep while screen is off and 35% awake while screen is off.
Today I am in a country where the Pixel is also officially being sold (I actually bought it here) instead of my home country and I am like 95% in deep sleep and only 5% awake.
Utini said:
Does anyone know if poor signal strength prevents deep sleep or causes the phone to take longer into deep sleep?
Could it be that countries where the pixel is not official being sold somehow affect deep sleep?
It is weird because usually I am like 65% deep sleep while screen is off and 35% awake while screen is off.
Today I am in a country where the Pixel is also officially being sold (I actually bought it here) instead of my home country and I am like 95% in deep sleep and only 5% awake.
Click to expand...
Click to collapse
I remember when traveling to Europe my P5 (or P4 perhaps it was long ago) drained like 20% overnight while in the US, same programs same everything, it was loke 4 or 5%. So you might have something there.
bobby janow said:
I remember when traveling to Europe my P5 (or P4 perhaps it was long ago) drained like 20% overnight while in the US, same programs same everything, it was loke 4 or 5%. So you might have something there.
Click to expand...
Click to collapse
Well US and EU are quite different (some brands/models even sell the same device as US model and as EU model). I think the frequency bands are different and maybe other things?
But if this is caused simply because I am in the neighbor country in which the P6 is not being officially sold...well **** google and my carrier then.
Has this issue been resolved?

General No Deep Doze unless I disable Sim-Card

Hey guys,
I always wondered, why my phone wouldnt Deep Doze (according to Gsam). Be aware: I am not talking of the Deep Sleep (the CPU state, that is happening).
I always lost between 1,5 and 2% per hour overnight with the phone just sitting on the table, connected to the home wifi.
I disabled the Sim-Card (physical one, no e-sim) before going to bed tonight and my phone deep dozed now.
Yes, I am aware that there is this Mobile Network Standby Drain Bug. But since I disabled "Always use mobile date" in developer settings and was using WIFI during mentioned times, I dont know how that appiles to me.
Anyone has ideas?
Thanks!
Put it into airplane mode overnight and see if you get the drain. At least you'll know if it's a app or radio issue.
xflowy said:
I disabled the Sim-Card (physical one, no e-sim) before going to bed tonight and my phone deep dozed now.
Click to expand...
Click to collapse
Blade22222 said:
Put it into airplane mode overnight and see if you get the drain. At least you'll know if it's a app or radio issue.
Click to expand...
Click to collapse
no offense dude, but did u read my post? see above.
What the heck is deep doze?
As stated above, it is a doze state that is being entered after the light doze. Check Gsam battery for your stats regarding deep doze.
I had the same problem, dropping 2-3% per hour over night. I turned 5G off, turned off 'mobile data always active' in developer settings and turned off adaptive connectivity.
Now im only losing .2-.5% per hour overnight.
xflowy said:
Hey guys,
I always wondered, why my phone wouldnt Deep Doze (according to Gsam). Be aware: I am not talking of the Deep Sleep (the CPU state, that is happening).
I always lost between 1,5 and 2% per hour overnight with the phone just sitting on the table, connected to the home wifi.
I disabled the Sim-Card (physical one, no e-sim) before going to bed tonight and my phone deep dozed now.
Yes, I am aware that there is this Mobile Network Standby Drain Bug. But since I disabled "Always use mobile date" in developer settings and was using WIFI during mentioned times, I dont know how that appiles to me.
Anyone has ideas?
Thanks!
Click to expand...
Click to collapse
May be related to a ProxyController bug that people have reported. One workaround I've heard of (cannot confirm it works) is to turn off Airplane mode, reboot, then turn on Airplane mode,
ProxyController wakelock draining battery - Google Pixel Community
Thanks everyone!
Napa7m said:
I had the same problem, dropping 2-3% per hour over night. I turned 5G off, turned off 'mobile data always active' in developer settings and turned off adaptive connectivity.
Now im only losing .2-.5% per hour overnight.
Click to expand...
Click to collapse
I did all that. No deep doze tho. And even when I had deep doze when disabling the sim-card entirely, i had more than 1% drain per hour in standby. How tf do u get .2-.5%!? Do u have telegram/whatsapp/insta?
Lughnasadh said:
May be related to a ProxyController bug that people have reported. One workaround I've heard of (cannot confirm it works) is to turn off Airplane mode, reboot, then turn on Airplane mode,
ProxyController wakelock draining battery - Google Pixel Community
Click to expand...
Click to collapse
I see no proxy handler wakelock in gsam so i dont assume its that. Already did that airplane mode reboot and it didnt work.
xflowy said:
Thanks everyone!
I did all that. No deep doze tho. And even when I had deep doze when disabling the sim-card entirely, i had more than 1% drain per hour in standby. How tf do u get .2-.5%!? Do u have telegram/whatsapp/insta?
I see no proxy handler wakelock in gsam so i dont assume its that. Already did that airplane mode reboot and it didnt work.
Click to expand...
Click to collapse
Just by doing what I said...
I was about to send the phone back until I discoveredt this fix. Battery life is great now.
I don't use any of those apps.
xflowy said:
As stated above, it is a doze state that is being entered after the light doze. Check Gsam battery for your stats regarding deep doze.
Click to expand...
Click to collapse
Sounds like a bunch of hooey to me. Light doze, deep doze, medium awake doze.. come on look at your cpu stats and deep sleep when screen is off. If it's not deep sleeping overnight at least 90% then something is keeping the phone awake and you need to find it. Get BBS and look at your alarms and partial wakelocks. You have a runaway program that is constantly waking up your device. Mine was Mi Fit and I tweaked it so it's not awake all night long. Went from 1.8% / hour to 0.4% - 0.7% consistently.
@Napa7m Insta and WhatsApp shouldn't be doing it. Not sure about Telegram but I do recall some issues a year ago and I deleted it from the phone.
bobby janow said:
Sounds like a bunch of hooey to me. Light doze, deep doze, medium awake doze.. come on look at your cpu stats and deep sleep when screen is off. If it's not deep sleeping overnight at least 90% then something is keeping the phone awake and you need to find it. Get BBS and look at your alarms and partial wakelocks. You have a runaway program that is constantly waking up your device. Mine was Mi Fit and I tweaked it so it's not awake all night long. Went from 1.8% / hour to 0.4% - 0.7% consistently.
@Napa7m Insta and WhatsApp shouldn't be doing it. Not sure about Telegram but I do recall some issues a year ago and I deleted it from the phone.
Click to expand...
Click to collapse
you should do some reading
xflowy said:
Thanks everyone!
I did all that. No deep doze tho. And even when I had deep doze when disabling the sim-card entirely, i had more than 1% drain per hour in standby. How tf do u get .2-.5%!? Do u have telegram/whatsapp/insta?
I see no proxy handler wakelock in gsam so i dont assume its that. Already did that airplane mode reboot and it didnt work.
Click to expand...
Click to collapse
Either something is using up power when device should be deep sleeping, or it's just defective.
So he's right, monitor app usage and go from there. The built-in battery stats work well enough. It's how I discovered that 'mobile network standby' was consuming 20-30% over night with nothing going on.
DOn't forget to expand the 'system usage' at the very bottom of 'battery usage'.
xflowy said:
you should do some reading
Click to expand...
Click to collapse
I did and it still sounds like you're looking in the wrong place for your awake status. It's a background process that can't really be tweaked or modified on it's own. But alarms and wakelocks can that's why I said look there first. If your phone is not deep sleeping err.. deep dozing then something is keeping it awake. Find it and you're home free. What kind of deep sleep are you getting overnight?
xflowy said:
As stated above, it is a doze state that is being entered after the light doze. Check Gsam battery for your stats regarding deep doze.
Click to expand...
Click to collapse
Deep sleep = deep doze? My wifi is on and have 4G enabled. This as taken about a month ago but nothing has changed.
Napa7m said:
I had the same problem, dropping 2-3% per hour over night. I turned 5G off, turned off 'mobile data always active' in developer settings and turned off adaptive connectivity.
Now im only losing .2-.5% per hour overnight.
Click to expand...
Click to collapse
I have about the same as you, mobile network standby around 20-25% overnight. I don't turn off 5G but I am connected to wireless with a very good signal. I have mobile data always active enabled as well as adaptive connectivity enabled. What I did to was turn off every adaptive setting in battery settings. Perhaps it's the wifi I'm connected to but I'm getting average 0.5-0.6% drain overnight. Deep sleep around 92 %. As I said, I did see some partial wakelocks and alarms when I was almost 2% / hour and either deleted the apps or figured out how to stop/slow them when not in use.
@bobby janow ok my man. first of all. a read for you, what deep/light doze is: https://www.andreasschrade.com/android-battery-optimisations
and no, its not the same as deep sleep. deep sleep is the cpu frequency.
my phone is now (out of a sudden) going into deep doze overnight, so that seems fine. also wakelocks couldnt have prevented my phone from going into deep doze, cause then, it would have also not gone into deep doze when I had my cd-card disabled (since there should be still wakelocks, when my phone is connected to wifi and all, right
since mobile standby is concerningly huge in the battery stats i assume its the usual culprit, but disabling adaptive connectivity, 5g and enabling that dev option does not help.
tho i am willing to find some wakelocks (since they seem to affect the device also a bit in terms of my standby drain). according to gsam everything is fine in that department, cant really find unusual wakelocks. does bbs show more there? im not very keen in running an adb to make it work...what does that command line do exactly?
thanks!!
@xflowy BBS needs 4 adb commands and it takes about 30 seconds to complete with a copy and paste from his thread. It has two wakelocks stats, kernel and partial. The kernel ones are meaningless to me but the partial tell a lot, you'll see. Also just as important is the alarms stat. It gives you that amount of time an app is firing i.e. wakeups. Check it out see if it helps you. Thanks for the read, but it's beer day today and that looks like it will take all my concentration. Lol.
@xflowy On first read it looks like battery optimization regulates doze mode, right? I mean that's really the only way?
It also happened to me after many tests I have managed to solve it, deactivating the sim card and esim, and restart, then activate the sims and drain solved, it already goes into deep sleep.
I have the exact same issue. I thought I'm the only one. But I'm unable to resolve with this by disabling sim n reboot method. Can anyone suggest if it's hardware fault ?

Categories

Resources