So I've been having this problem since a few days. It happened a few times in MIUI 10.3.5 global version then after updating to 10.3.6 I had it ALL the time.
Checking battery stats gives no info on this. Apps shown to consume battery are the ones I use and they only have 1 minute of keeping screen awake timer.
I've no idea what's causing this and I don't want to root my device as some of my applications have aggressive root detection and won't work.
CPU spy shows 0 deep sleep and 660 mhz is used instead of sleeping.
Steps I've taken so far:
The only temporary fix I found was to disable MIUI optimizations in developers options but that isn't of any help anymore.
Factory reset, playing around with different settings including turning off sync, wifi, mobile data and airplane mode on phone still didn't sleep.
Logged out of MIUI account and haven't logged back in after factory reset.
Turned location off/tried GPS only.
I'm going to reflash my firmware today and post the results, need any advice on this as I've scoured the internet but found no solution.
Probably fix(?) Not turning to sleep mode xiaomi
Hi, I actually faced the same problem before and like yourself, I turned off my mi optimization and I use Xiaomi Redmi Note 5. This is how it works for me, so it might help you? So I turned the mi optimization off, and later turn it on back but my phone has yet to enter the sleep mode even though it should be even after the set time. I restarted my phone and it didn't work either. So what I did, is basically turn mi optimization off, reboot and turn it on, to reboot again. I know it might sound strange but I have a theory, if we reboot the device after turning it off and on, it might as well go back to normal as we, according to the warning, need to reboot our device after turning mi optimization off.
Related
Something very curious has happened the last week or so.
The Wifi stays on, even when the phone is in sleep mode. It is evident when I unlock, the wifi symbol on the status bar doesn't bleep (reconnecting), but stays solid (connected). Of course that could be an operating system displaying error, but it's not; functionality is there, wifi stays on, device connected to the internet. And I'm not talking about the short amount of time that the wifi stays on after locking the phone. I'm talking I'm receiving notification etc as if I was using data.
I noticed it when, after waking up in the morning, I realised a massive battery drop (from 65% to 27%) overnight, although I keep my phone on airplane mode at nights.
As I haven't recently used any mods, regedits etc, and I haven't updated or flashed any rom (btw I'm on debranded stock 8107, with KK2), I can attribute this weird but very interesting behaviour to 2 possible things:
a. I installed some app, possibly homebrew, that somehow (even the dev didn't know about that) keeps running keeping wifi awake under lockscreen
b. Maybe it's because I'm on Airplane mode. I kept on being on Airplane mode from the moment I noticed it (as I have input my SIM to another phone). I should note though that there is a sim in the phone, I'm just on Airplane mode. Is that a known feature? Wifi stayin on under lockscreen on Airplane mode? I don't think so, as I would have noticed all that time (I keep my phone on that mode a lot).
That behaviour has persisted after soft-resets (reboots) and battery charges. The only hardware change I made the last week was using a non OEM replacement battery (the ones that reboot the phone when connected to the charger). But I'm using the original battery.
I should note it consumes about 4% of battery life for every hour, quite viable.
thats weird, but to some ppl, like me, i'd be happy if this happens, would love wifi staying on in sleep mode.
but, the opposite happens with mostly everyone
Even more curious thing that I found out today. When the phone is SWITCHED OFF, and wifi was on before switching the phone off, I have battery drop (almost the same as if being switched on with wifi on, around 3-4% per hour, in my instance from 43% went to 11% when I switched the phone on).
I don't know if the (original) battery has been messed up, so the battery index is not reliable (the reason I bought replacements was that in a span of 1 month, I was not treating it right, a lot of charging, heavy operation simultaneously, resulting in excess battery heating etc), or for some reason the use of the fake battery messed up the software part (both battery metering and WiFi stayin on)
I'll do so more testing and I'll report. Has anyone tried to go to Airplane mode and switch on Wifi, to check if it stays on under lockscreen?
It stopped today... weird!
... And it happened again, this time I think it might have been triggered by Audible, I might make a video as a proof.
EDIT: I was making that video, and realized on cam that it stopped happenning, and then I realized I had flashed beforehand the KK4 firmware. What a douche! If it happens I'll try to capture it on camera
When the data connection is OFF (like when you activate airplane mode) wifi remains connected even when you lock the phone.
d.a.v.o.r said:
When the data connection is OFF (like when you activate airplane mode) wifi remains connected even when you lock the phone.
Click to expand...
Click to collapse
No that doesn't normally happens, unless you have an app running under lockscreen and using WiFi (like a music streaming app)
So I posted this in a different thread but figured I would post it here to see if anyone could duplicate my findings. I have a Note3 from T-Mobile and for whatever reason leaving the Wi-Fi on will not allow the phone to go into deep sleep mode. I noticed when I was down to 40% battery after 10 hours with only one hour of screen on time. After running some tests I had only 2 minutes of deep sleep those entire 10 hours (tested using BetterBatteryStats) I tried setting "Keep Wi-Fi on during sleep" to Never and unchecking "Always allow scanning" under advanced network settings but neither of them fix the issue. In fact, after several tests I concluded that setting never for "Keep Wi-Fi on during sleep" wasn't even functioning as my access points still showed the client connected while the phone was asleep.
Can anyone else confirm this issue is actually a bug and not just my phone being defective?
Here's my original post on the topic regarding how I found the problem and what I have tested so far:
OK so after only 2 days of owning this phone (got it late Monday night, the T-Mobile variant) I finally figured out why I'm getting such bad battery, and I suspect the same thing may be happening for the other people in this thread. Hopefully this information helps at least one person.
My battery stats was almost identical to all the other users in this thread that had bad battery, I would get barely around 10-12 hours on the phone with less than 2 hours of screen on time. After using multiple apps to track down the issue I finally got what it was.
Wireless. Yes, wireless was my cause. But the thing is Wi-Fi didn't show up at all in any of the battery apps so I assumed it was a non issue. I've had other phones and have always kept the wireless turned on the entire time without problems. The basic problem is not that Wi-Fi is using power itself but it's that by default the phone cannot enter deep sleep while connected to Wi-Fi. This is why trying to use apps like BetterBatteryStats will lead you nowhere initially (though they were useful in finding out what was causing the issue) You can discover this by turning on Wi-Fi and connecting the phone to a charger, then disconnecting it so your BBS information will reset. Then power off the screen and power it back on after 10 minutes. You'll notice in the other section that deep sleep will have less than a minute time while awake probably has close to 9 minutes, if not more. This is with everything else turned off, almost no apps, and no special Samsung stuff enabled.
Under Apps > Settings > Wi-Fi > Menu > Advanced there are two options that should help this: "Keep Wi-Fi on during sleep" and "Always allow scanning" I set the "Keep Wi-Fi on during sleep" to Never and unchecked Always allow scanning and rebooted the phone. And low and behold...nothing. Yes, these options don't work (at least not to fix this problem) The phone still won't enter deep sleep mode while the wireless is enabled. Based on my company's wireless devices I can see that even with the screen off for well over 10 minutes it still shows connected as a client meaning the wireless is not turning off properly while it's in sleep mode. Or perhaps it can't go into sleep mode because the wireless is on which stops it from going into sleep mode and turning off the wireless. My guess is that it's a Samsung bug.
The reason why there's so many people here to get good battery usage is because they're either used to turning Wi-Fi on only when needed and keeping it off. You'll also not notice it if you have more than 6 hours of screen on time because you could easily assume that it would make sense that you phone would only last 10 hours total with that much screen on time, even though it should have technically lasted 20+ hours with only 6 hours of screen on time if the phone could have entered deep sleep.
So what's the real fix for this? Unless it's by design my belief is that it's a bug and won't be fixed until Samsung/T-mobile notices. I can't test to see if the same thing happens on other carriers so if someone feels like testing this theory out it would help.
For now, I guess we're just left to manually turning Wi-Fi on only when needed and leaving it off in all other cases. For those that have the T-mobile variant, make sure you also go into Settings > General > Backup and reset > Collect diagnostics and uncheck the "Allow Diagnostics" as that will probably be the highest offender of Partial Wakelocks (it'll show up as com.carrieriq.tmobile.wakelock or System Manager Application)
If anyone wants more information on my testing let me know!
Click to expand...
Click to collapse
That's because the 'Keep WiFi during sleep: Never" setting only disconnects, it doesn't shut down the WiFi radio.
You're going to have to use a manager (Like Deep Sleep Battery Saver).
Or just hit the toggle yourself... If you're going to keep it disconnected in sleep anyway, just swipe down the notification bar and hit the bloody toggle.
ShadowLea said:
That's because the 'Keep WiFi during sleep: Never" setting only disconnects, it doesn't shut down the WiFi radio.
You're going to have to use a manager (Like Deep Sleep Battery Saver).
Or just hit the toggle yourself... If you're going to keep it disconnected in sleep anyway, just swipe down the notification bar and hit the bloody toggle.
Click to expand...
Click to collapse
The problem is that it doesn't disconnect, the access point 100% shows it is connected and transferring data every now and then. But the real issue isn't weather it disconnects or not but it's the fact that Wi-Fi will not allow the phone to go into deep sleep mode. For now I am fine with switching Wi-Fi off and on as needed, but with no other phone have I needed to do this before and definitely seems like a bug.
But regardless, what I'm trying to figure out if this is a legit bug that I should submit to Samsung/T-mobile or if it's just my phone and I should ask for a replacement. If anyone has BetterBatteryStats and could test this with their Note3 that would help.
My stupid phone has just started this same issue!!!! Freaking annoying, after only 8 hrs from 100% charged state, the battery is at 46% with only 26 mins screen ontime, I checked out that the phone never goes into deep sleep. What is going on and what can be causing this? Did you manage to resolve your issue?
PS I checked out wakelock detector but doesn't tell me a thing, as what program is keeping the phone awake all the time. Starting to hate this phone and miss my S3
What is your GPS accuracy setting set to? GPS, Wifi or Networks? Try setting it to GPS only.
GameBoiye said:
So I posted this in a different thread but figured I would post it here to see if anyone could duplicate my findings. I have a Note3 from T-Mobile and for whatever reason leaving the Wi-Fi on will not allow the phone to go into deep sleep mode. I noticed when I was down to 40% battery after 10 hours with only one hour of screen on time. After running some tests I had only 2 minutes of deep sleep those entire 10 hours (tested using BetterBatteryStats) I tried setting "Keep Wi-Fi on during sleep" to Never and unchecking "Always allow scanning" under advanced network settings but neither of them fix the issue. In fact, after several tests I concluded that setting never for "Keep Wi-Fi on during sleep" wasn't even functioning as my access points still showed the client connected while the phone was asleep.
Can anyone else confirm this issue is actually a bug and not just my phone being defective?
Click to expand...
Click to collapse
Well, your issue looks pretty similar to mine, which I solved with this Xposed mod (you could give it a try if you're on KitKat): http://forum.xda-developers.com/xposed/modules/mod-wi-fi-deep-sleep-t2752947. I was experiencing that even when "Keep Wi-Fi on during sleep" is set to Never, Wi-Fi still was awake most of the time according to battery stats.
My D802 seems to be losing some settings when it's rebooted.
1) On all reboot, the brightness is back to 100%.
In settings/display, I set the brightness to 60% with auto disabled. After a reboot, the display is back to 100%.
2) *Sometimes* it sets the system time to random
I observed this only twice. The time remains correct on other reboots. The time jump happens when I turn off the phone and leave it off for a few hours, and turn it back on. Both the hour and minutes are wrong. "Automatic date time" and "Automatic timezone" are both disabled. There is no SIM card and no WIFI enabled.
Does it look like a hardware problem? Can someone help see if you also have these symptom, especially 1) since it happens everytime for me.
xanad21 said:
My D802 seems to be losing some settings when it's rebooted.
1) On all reboot, the brightness is back to 100%.
In settings/display, I set the brightness to 60% with auto disabled. After a reboot, the display is back to 100%.
2) *Sometimes* it sets the system time to random
I observed this only twice. The time remains correct on other reboots. The time jump happens when I turn off the phone and leave it off for a few hours, and turn it back on. Both the hour and minutes are wrong. "Automatic date time" and "Automatic timezone" are both disabled. There is no SIM card and no WIFI enabled.
Does it look like a hardware problem? Can someone help see if you also have these symptom, especially 1) since it happens everytime for me.
Click to expand...
Click to collapse
It is happening for my G2 as well. Did you discover what the issue is?
I have my suspicious that could be the lack of SIM card, as I am now preparing the device for my brother and he needs a micro seem which he does not have... The device worked as intended before the hard reset, and I tried to reset it again, but the issue persist...
Thank you
My phone has not been able to get into deep sleep. For the last few days that I've checked GSam, it's always been at 0s of deep sleep. Just checked right now and after 21 hours, my phone has gotten 10s of deep sleep. I've done a search and looked through many pages of posts on some of the various battery discussion threads but I haven't been able to find anything. Does anyone have a possible remedy for this or explanation of why it's happening? Is anyone else having trouble going into deep sleep?
Mines is the same, I assume it's because I charge my phone every night, which is really the only time my phone would sit still inactive long enough to actually enter doze.
I might of fixed my draining battery issue so maybe you guys can try it out too. My issue was my phone would not go to deep sleep and would stay awake even when the phones display was off so something was keeping it up. I tried all the different methods out there including the package disabler and doing the hard reset with the cache reset. I was browsing the developer options in the settings screen and looked at my running services. I noticed that my contacts and a. Program called com.qualcomm.location had a message next to them saying restarting while all the other programs just had a countdown of how long they were running. So I clicked on each and pressed stop and I also re-downloaded the package disabler and disabled the com.qualcomm.location. after all that I synced my contacts again and just did a simple reboot and after that my phone was able to deep sleep. Now my battery is not draining like it did. So in my case those 2 apps had an issue and kept trying to reset itself so the phone was never able to sleep. I would recommend looking at your running services in the developer options. go into the running services and see if anything is trying to restart itself over and over again
So I did finally achieve deep sleep. I tried a few things from the temporary battery fix thread and I wasn't able to pin point one thing which worked, THEN, I restarted my phone and it wouldn't go into deep sleep again. I tried wiping the cache and restarted and suddenly it's going into deep sleep again....
I'll keep an eye on it and will update if anything interesting happens.
I finally charged my phone prior to going to sleep and it finally did dose last night, the phone has to be stationary to enter deep sleep
Shuthefrontdoor said:
I finally charged my phone prior to going to sleep and it finally did dose last night, the phone has to be stationary to enter deep sleep
Click to expand...
Click to collapse
Doze and deep sleep seem to be too different things. My phone will sometimes doze without going into deep sleep. What's really weird is that sometimes my phone will randomly stop going into deep sleep and a clearing of the system cache immediately fixes this. There have been at least two times I can confirm I *only* did a cache wipe and the issue was remedied.
Does anyone have any idea why this is happening and why clearing the cache helps?
Anyone figure this out? Also is everyone on stock? Im rooted and on superman rom, this is happening to me every day now after i charge it over night. I have to restart my phone to fix.
yellowsn0w said:
Anyone figure this out? Also is everyone on stock? Im rooted and on superman rom, this is happening to me every day now after i charge it over night. I have to restart my phone to fix.
Click to expand...
Click to collapse
same for me on Galaxy s7 flat exynos sm-930f, no root, stock rom
very annoying
if you find a solution suitable for me (without root) please let me know
same here to me stock exynos s7 when plug off the charger in the morning have to restart the phone otherwise battery dies half day
I figured out that for my phone it defenitly is somehow connected to the fast-charging function.
When using the fast-charger the phone doesn't go into deepsleep anymore.
It happens as soon as the phone touches the fast-charger, it doesn't even need to fully charge for this to occur.
When charging with everything else, incl. Qi nothing happens, but as I said, after the fast-charger was connected - no deepsleep.
At least that's what I observed, no guarantee that this affects everybody.
Komaandy
It is the same issue that has been discussed for a while in "high android system battery drain" thread. Read up last few pages.
SM-G935W8 ?
All,
I've got a stock Nexus 6P, Android 6.0.1, build MHC19Q.
Sometimes the phone will go to sleep and sometimes it won't. In the settings, Display Sleep setting I have 30 seconds as the value, but I've seen my phone stay on for way longer, sometimes until I hit the power button.
I've tried several changes to the time but it doesn't seem to help the times it stays on, it just changes the time for the sleep when it does work.
To explain exactly, when I stop using my phone and I'm on the home screen, if I leave the phone alone for several minutes, it will not sleep, no matter what value I put in the setting. Other times it seems to sleep without a problem.
I've not been able to determine if some app is holding it awake, and I don't see any pattern the would point to any other condition that keeps the phone awake.
I looking for additional ideas to troubleshoot the problem, it just stays on and runs down the battery.
Ideas?
MB
Download and install GSAM. It will tell you specifically which app is keeping the screen on.
If it days Android, System, or Media Playback is the highest, it may be a tweak / custom rom / kernel issue.