Wifi is till on while in flight mode - leading to slow battery drain - Nexus 5X Q&A, Help & Troubleshooting

Hello experts,
I have a new Nexus 5x with stock ROM, after I updated android with May '16 update of Marshmallow 6.0.1.
I tried setting the device to flight mode last night, including Wifi off, to see if the battery level is preserved over night. In the morning I saw that battery level dropped slowly overnight, but what is more interesting is that Wifi was still on.
(I don't know why, I can't find the "attachment" section for this post so I use imgur)
In this screenshot, notice flight-mode icon on top right and wifi green bar on the button
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I found this post from January, but it only says there's graphic bug...
http://forum.xda-developers.com/nexus-5x/help/according-to-battery-screen-wifi-off-t3288437
then I found this thread suggesting a workaround to turn off cell radio manually. When I get to PhoneInfo screen (with the disable phone radio) - it warns me "this might ruin the device radio permanently"
http://forum.xda-developers.com/nexus-5x/help/guide-fix-workaround-airplane-mode-t3381568
Anyone know if Google fixed this issue in a special update?

amnonjw said:
Hello experts,
I have a new Nexus 5x with stock ROM, after I updated android with May '16 update of Marshmallow 6.0.1.
I tried setting the device to flight mode last night, including Wifi off, to see if the battery level is preserved over night. In the morning I saw that battery level dropped slowly overnight, but what is more interesting is that Wifi was still on.
(I don't know why, I can't find the "attachment" section for this post so I use imgur)
In this screenshot, notice flight-mode icon on top right and wifi green bar on the button
I found this post from January, but it only says there's graphic bug...
http://forum.xda-developers.com/nexus-5x/help/according-to-battery-screen-wifi-off-t3288437
then I found this thread suggesting a workaround to turn off cell radio manually. When I get to PhoneInfo screen (with the disable phone radio) - it warns me "this might ruin the device radio permanently"
http://forum.xda-developers.com/nexus-5x/help/guide-fix-workaround-airplane-mode-t3381568
Anyone know if Google fixed this issue in a special update?
Click to expand...
Click to collapse
go to wifi--> options "advanced"--> Scanning always available. Turn it off. If you can'tt find it in wifi, it will be in location setting.

A couple of things... do you have Viber installed? I know it has a setting within it to override the system setting for Wi-Fi sleep policy. Perhaps it's interfering with flight mode too?
Also, in Settings > Location > Scanning (three dot menu) is the Wi-Fi scanning switched on?
It would seem odd if either of these overrides flight mode but worth checking.
Edit - beaten to it on the scanning one...

Thanks for the quick help. I don't have Viber installed.
I will try the WiFi - location turn off soon when I board a flight tonight

On early releases, there is bug in wifi where it won't go into sleep even if you have the setting for Keep WiFi on During Sleep set to never.
On later releases, they fixed that bug, but now when you resume from sleep, it has trouble connecting to WiFi. Probably that has been a problem the whole time, but it was maxed by the WiFi never goes to sleep bug.
Someone said it (the WiFi not reconnecting bug) got fixed in the most recent release, then later on posted the problem is back.
I got tired of the drama and installed WiFi Automatic which controls the WiFi much closer to the usage patterns I desire.

amnonjw said:
Hello experts,
I have a new Nexus 5x with stock ROM, after I updated android with May '16 update of Marshmallow 6.0.1.
I tried setting the device to flight mode last night, including Wifi off, to see if the battery level is preserved over night. In the morning I saw that battery level dropped slowly overnight, but what is more interesting is that Wifi was still on.
(I don't know why, I can't find the "attachment" section for this post so I use imgur)
In this screenshot, notice flight-mode icon on top right and wifi green bar on the button
I found this post from January, but it only says there's graphic bug...
http://forum.xda-developers.com/nexus-5x/help/according-to-battery-screen-wifi-off-t3288437
then I found this thread suggesting a workaround to turn off cell radio manually. When I get to PhoneInfo screen (with the disable phone radio) - it warns me "this might ruin the device radio permanently"
http://forum.xda-developers.com/nexus-5x/help/guide-fix-workaround-airplane-mode-t3381568
Anyone know if Google fixed this issue in a special update?
Click to expand...
Click to collapse
Hey I wrote the Reddit post about turning off the radio manually. Somehow it did work for weeks and then the bug came back, so the workaround either doesn't work or does not work 100%. I'm pretty convinced it's a wifi bug, as mentioned here: https://code.google.com/p/android/issues/detail?id=196120
It does look that some devs are working on it though.

ppaasseeii said:
Hey I wrote the Reddit post about turning off the radio manually. Somehow it did work for weeks and then the bug came back, so the workaround either doesn't work or does not work 100%. I'm pretty convinced it's a wifi bug, as mentioned here: https://code.google.com/p/android/issues/detail?id=196120
It does look that some devs are working on it though.
Click to expand...
Click to collapse
I eventually didn't turn off the radio manually, but I did turn off wifi scanning in the "location" settings. I was abroad for a week with no cellular service so I was on "flight mode" the entire time. At nights I turned off wifi and checked on it in the morning - most of the times the battery graph didn't show wifi was on, but sometime I think it did.
I do hope Google will fix this eventually.

Related

Wifi on/off constantly in deep sleep

I've tried to search for something like this, but I haven't found anyone with this exact issue. I'm sorry of this has been posted before.
On to my problem, when the phone was new, everything worked as it should have, but a week ago or so, wifi wouldn't turn off during sleep for an unknown reason.
Yesterday I factory reset the phone and didn't have it to restore apps to troubleshoot, and now it looks like this :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
why does this happen?
Everything stock, but if rooting could fix it, I'd do it in a heartbeat.
ph10m said:
I've tried to search for something like this, but I haven't found anyone with this exact issue. I'm sorry of this has been posted before.
On to my problem, when the phone was new, everything worked as it should have, but a week ago or so, wifi wouldn't turn off during sleep for an unknown reason.
Yesterday I factory reset the phone and didn't have it to restore apps to troubleshoot, and now it looks like this :
why does this happen?
Everything stock, but if rooting could fix it, I'd do it in a heartbeat.
Click to expand...
Click to collapse
change wifi sleep policy at settings.
If I had wifi set to always on I wouldn't really be asking a question, but I should have mentioned that. I've set it to never on during sleep and wifi power saving is also turned on.
ph10m said:
I've tried to search for something like this, but I haven't found anyone with this exact issue. I'm sorry of this has been posted before.
On to my problem, when the phone was new, everything worked as it should have, but a week ago or so, wifi wouldn't turn off during sleep for an unknown reason.
Yesterday I factory reset the phone and didn't have it to restore apps to troubleshoot, and now it looks like this :
Everything stock, but if rooting could fix it, I'd do it in a heartbeat.
Click to expand...
Click to collapse
ph10m said:
If I had wifi set to always on I wouldn't really be asking a question, but I should have mentioned that. I've set it to never on during sleep and wifi power saving is also turned on.
Click to expand...
Click to collapse
emmmm ofc wifi wont go sleep mode when you have set "never on during sleep"
The setting says "keep wifi on during sleep", whereas I've set it to never. If I had it set on "always" it'd be on during sleep. Not the other way around.
When I said "never on during sleep" how could you think that meant that wifi is always on during sleep? Jw.
ph10m said:
The setting says "keep wifi on during sleep", whereas I've set it to never. If I had it set on "always" it'd be on during sleep. Not the other way around.
When I said "never on during sleep" how could you think that meant that wifi is always on during sleep? Jw.
Click to expand...
Click to collapse
missunderstood, didnt have near me phone so didnt look at settings how it is called exactly. So then maybe you have some app or syncing enabled which wake up wifi randomly... just wondering
Yeah that's why I factory reset and left it overnight without any 3rd party apps or sync enabled.
I find it very weird and guess I'll just wait and see if anyone has experienced the same and figured it out!
Thanks for tuning in anyway.
If you look at wake and wi-fi on vs. screen on you can see something is constantly waking the phone which is causing it to then connect to wifi. This is a very annoying thing especially when it's still doing it after a factory reset. Depending though you may have some stock app, or account syncing that's waking the phone then it wakes and turns wifi on to use it. If you set up a Samsung Account, Google Account, or dropbox. Many of these have sync settings turned on by default. The Samsung Apps I believe also has it set to use push notifications and over wifi turned on by default. I believe dropbox if logged into also by default is set to auto sync pictures and video with your phone. If you happen to have Facebook it's always running, and by default is set to check for updates every hour. I see you must have GPS enabled for the fact that it at least used it once. It seems like if you have location reporting checked or whatever about wifi networks Google loves to CONSTANTLY do the location collecting. Also if you have your device set to backup with Google it's something that was definitely waking my phone over night a lot more than it needed to be. Also check you maps settings for location reporting/check in stuff. If you've never turned it off it likes to be on by default.
Thanks for all this info, I'm sure I disabled sync options but there might be something left. I'll try this and report after I've left it on tonight! Thanks again
ph10m said:
Thanks for all this info, I'm sure I disabled sync options but there might be something left. I'll try this and report after I've left it on tonight! Thanks again
Click to expand...
Click to collapse
Here is an Xposed mod that fixes the issue (unfortunately, KitKat only for now): http://forum.xda-developers.com/xposed/modules/mod-wi-fi-deep-sleep-t2752947
Hello, I have exactly the same problem on my cink peax. Unfortunately I'm not on KitKat so I cannot try the exposed module. I think some apps wake the phone even when you disable notification. (Facebook, some Google apps also). I tried greenify, it's better now but I still have the problem. So I hope to find a solution.
EDIT : I tried deep sleep battery saver this afternoon and associated with greenify I was able to cut WiFi when in deep sleep mode.

msm_hsic_host wakelock

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
A great explanation of the msm_hsic_host wakelock issue by "thracemerin" on the xda-dev forum
I didnt understand the issue previously, but this sheds light on it for me.. http://forum.xda-developers.com/showthread.php?t=2155461
"The msm_hsic_host wakelock is because the 3G modem is connected to the phone as an external USB device controlled by the hsic host controller. When the modem wakes up for any reason (apps sync, location, tower ping, etc...) the wakelock is requested. The problem is that the hsic host controller doesn't go back into suspend mode properly, this is a problem with the kernel. The result is that because the hsic host controller isn't asleep the phone wont enter deep sleep while it waits for the hsic host to suspend.
There is the additional issue that if your signal is poor the operations that caused the wakelock in the first place take longer to complete thus lengthening the time the wakelock is held.
The issue is significantly reduced on WiFi for obvious reasons, all the data is transmitted via WiFi so the 3G modem doesn't need to wake up nearly as often, it still wakes up to deal with tower checks and that sort of thing to ensure that it has voice connectivity, but those events are much rarer.
There are kernels available that attempt to solve this problem, Harsh kernel as suggested by another user has fixes in it along with a lot of other changes, the fixed kernel I'm working on is stock with these changes as well, either should help, it's not possible to eliminate this wakelock completely without shutting down the 3G modem which would of course prevent data and voice use of the phone, but they will reduce the wakelock and may help with your battery life."
http://www.reddit.com/r/nexus4/comments/199bd3/a_great_explanation_of_the_msm_hsic_host_wakelock/
So? How Sony will handle this?
I thought this was already fixed by Google in mainline kernel, this issue is pretty old one.
Remember, this wakelock is not possible to eliminate completely, it's pretty much the synonym to your phone receiving/transmitting any kind of network traffic over 3G. And lot of apps cause regular incoming packets each of which will wake up the phone. That's why to big extent Sony introduced Stamina mode.
Well for me it was busy for 21m8sec on 5h29h of idling. Phone was on WIFI all the time.
Phone was on Wi-Fi, but you don't have Wi-Fi set to be on only when screen on do you? Also, maybe you've enabled "use only good Wi-Fi connections?" As for myself I see noticeable time in this wakelock only when away from Wi-Fi
Ingvarr said:
Phone was on Wi-Fi, but you don't have Wi-Fi set to be on only when screen on do you? Also, maybe you've enabled "use only good Wi-Fi connections?" As for myself I see noticeable time in this wakelock only when away from Wi-Fi
Click to expand...
Click to collapse
For me wifi is always on and "use only good wifi connections" is OFF
DoubleYouPee said:
For me wifi is always on and "use only good wifi connections" is OFF
Click to expand...
Click to collapse
Try switching mobile data off completely.
Maybe your operator sending you ping packets regularly or something like that.
Ingvarr said:
Try switching mobile data off completely.
Maybe your operator sending you ping packets regularly or something like that.
Click to expand...
Click to collapse
Well it is off when wifi is on....right? Turning the option off shouldn't make a difference
DoubleYouPee said:
Well it is off when wifi is on....right? Turning the option off shouldn't make a difference
Click to expand...
Click to collapse
Just try it out.
Also, if you have Google Now on, switch it off.
Check out wake lock time ratio... My battery is getting killed I run stock 4.3.
Uhm... I've updated my kernel with the latest release from Ziddey (which uses Franco's as a base and adds USB OTG support).
After that I noticed this problem. I've noticed it in the past and fixed it by reflashing a previous version, so I restored a previous kernel but the problem remained.
So, in an attempt to understand what was causing the problem I reinstalled the latest kernel again, only this time not fixing the permissions after flashing it. The problem seemed to be gone. I realized that every time I've had the problem in the past it was after fixing the permissions in TWRP (it asks if I want to fix permissions before reboot every time I flash a new kernel).
Could it be only a weird coincidence?
BTW, I usually never fixed the permissions because I thought it was a TWRP bug/mistake.
I'm doing some tests right now.
[EDIT] P.S. I know it's unlikely that's the culprit of the problem... But...
Hi. I bought this phone for my wife a few years back and recently she told me her battery was draining so I installed Better Battery Stats and found out the same wakelock issue in this post. She is using latest stock rom and the issue happens even if on wifi. I can't seem to find any other information about this issue. Any ideas?
BTW, sorry for necro.

Wifi Battery Problem

Hey guys,
I have following problem with wifi:
If I turn off my wifi in settings it still drains battery in the battery stats. Also when I turn on airplane mode the active wifi line has no gaps in battery stats. I turned off wifi scanning and searched for all apps that have permission to wifi and uninstalled them. But still I could not turn switch off wifi completely. The only way to turn off the wifi battery drain is to turn off wifi in settings and reboot the phone. However, when I turn on wifi after the reboot I can not switch it off again.
So since I could not find the reason what cause wifi to always stay active even when I turned it off I made a factory reset. But the problem was still there. Next I updated my stock OxygenOS 3.1.2 to the newest 3.1.3 version but still have the same behaviour.
Do you also have an always active wifi in battery stat? Is this a software or hardware bug and is there a fix or an app to manually kill wifi completely?
I have not experienced any such issue in my 4 days of use.
Good to hear. I really dont know what causes wifi to always stay on in Battery Stats. I read in forums of other devices that they also have this issue. Since it could be a Marshmallow related bug. But I haven't found a solution that worked for me. Do you know an app to analyze wifi to see if it is really on or if it scans in background. Or to see which app uses wifi at the moment?
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
This is my logcat output if I turn off wifi:
http://pastebin.com/eircQhHc
Does it really get switched off completely?
Try going to Settings > Wifi > Advanced > Keep Wi-Fi on during sleep set to Never
Sent from my ONEPLUS A3000 using XDA-Developers mobile app
Thank you for your advice. I already tested it but did it again with wifi turned off in settings. Turned off the screen for almost 2 hours. But still I do not get any gaps in the wifi active line in battery stats.
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
breaxta said:
Hey guys,
I have following problem with wifi:
If I turn off my wifi in settings it still drains battery in the battery stats. Also when I turn on airplane mode the active wifi line has no gaps in battery stats. I turned off wifi scanning and searched for all apps that have permission to wifi and uninstalled them. But still I could not turn switch off wifi completely. The only way to turn off the wifi battery drain is to turn off wifi in settings and reboot the phone. However, when I turn on wifi after the reboot I can not switch it off again.
So since I could not find the reason what cause wifi to always stay active even when I turned it off I made a factory reset. But the problem was still there. Next I updated my stock OxygenOS 3.1.2 to the newest 3.1.3 version but still have the same behaviour.
Do you also have an always active wifi in battery stat? Is this a software or hardware bug and is there a fix or an app to manually kill wifi completely?
Click to expand...
Click to collapse
Go to settings- back up and reset- turn off backup my data.
Restart ur device. This helped me turning my wifi off.
Thanks. I already had disabled the backup option. And still my wifi did not turn off correctly in battery stats.
But today I found out that when I am connected to a wifi and then switch off wifi it turns off as expected and the active line in battery stats stops immediately. However when I leave the connected wifi area and then switch off wifi without a connection it stays active in battery stats. Can someone reproduce this behaviour?
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
breaxta said:
Thanks. I already had disabled the backup option. And still my wifi did not turn off correctly in battery stats.
But today I found out that when I am connected to a wifi and then switch off wifi it turns off as expected and the active line in battery stats stops immediately. However when I leaf the connected wifi area and then switch off wifi without a connection it stays active in battery stats. Can someone reproduce this behaviour?
Sent from my ONEPLUS A3003 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yes I have the same bug.
I've had this problem with my Oneplus One since Lollipop and again with Oneplus 3. No matter what rom, this issue has always been present. I've never really found the reason for it.
I believe it is just a bug in reporting the battery stats since I haven't faced any serious battery drain as such. I have also read few people saying it could be an app that is keeping wifi active all the time. I'll try to test this.
viralbug said:
Yes I have the same bug.
I've had this problem with my Oneplus One since Lollipop and again with Oneplus 3. No matter what rom, this issue has always been present. I've never really found the reason for it.
I believe it is just a bug in reporting the battery stats since I haven't faced any serious battery drain as such. I have also read few people saying it could be an app that is keeping wifi active all the time. I'll try to test this.
Click to expand...
Click to collapse
Yes that seems to be the problem. If an app causes the problem. It has to be one of the pre-installed apps, since this also happens after a factory reset. Unfortunately it is not possible to revoke the "connect and disconnect Wi-Fi" permission in settings.
breaxta said:
Yes that seems to be the problem. If an app causes the problem. It has to be one of the pre-installed apps, since this also happens after a factory reset. Unfortunately it is not possible to revoke the "connect and disconnect Wi-Fi" permission in settings.
Click to expand...
Click to collapse
Like I said it is mostly a reporting error in stats. Install GSAM Battery Monitor and check what it shows.
Though default battery stats show wifi to be constantly on (even when phone was turned off!) , GSAM correctly shows wifi as turned off.
I think you can ignore this bug and use your phone normally. I've been doing the same since a long time now lol.
Phone off but Wifi On ?!
Something similar happened to me last night. The phone was in my pocket the whole time. I am on 3.1.2 stock.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
İt is the advanced location mode where phone can use wifi and bluetooth aswell. Just type wifi in settings searchbox scroll doen till you see a line related to location. And thats all you can turn it off there. The thing that bugs me more is that wifi is very weak. And dont say no because you got some sort of nuclear fallout router. İf you compare it to other devices and go to an area where you have barely wifi you will see what i mean. İts a shame

Battery Drain from "Kernel (Android OS)" and "Android System"

Not sure when this started but I'm now dropping about 20% of battery per night and when I look at GSam battery monitor it seems to be due to :
- Kernel (Android OS)
- Android System
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Unfortunately clicking on either of them only show a long list of processes/packages with no further detail.
I'm running S233 Deodexed, rooted and I've already optimized everything I could with Greenify and that seems to have worked ok looking at the Gsam stats.
Anyone know what might be going and what to try to curb that battery drain ? Thanks !
i am having the same problem..... since last two weeks.
Not sure what to suggest, I ended up wiping and restoring with Titanium and it's definitely improved things, something must have gone "wrong" somewhere...
I still find my P2 to be not very frugal (not as much as say my old Moto X) but with the huge battery it's impossible to drain it in a day and I'm never that far away from a power source, so...
Thanks for reply. I dont want to wipe and do restore. If you have to do it only once then its ok but everytime... Not good..
I post the same issue in different forum, will update if i get something..
webvan said:
Not sure when this started but I'm now dropping about 20% of battery per night and when I look at GSam battery monitor it seems to be due to :
- Kernel (Android OS)
- Android System
Unfortunately clicking on either of them only show a long list of processes/packages with no further detail.
I'm running S233 Deodexed, rooted and I've already optimized everything I could with Greenify and that seems to have worked ok looking at the Gsam stats.
Anyone know what might be going and what to try to curb that battery drain ? Thanks !
Click to expand...
Click to collapse
go through below link....
https://code.google.com/p/android/issues/detail?id=207700
and #57 and try...
it worked for me
Thanks, I'll try.
npt122p2 said:
go through below link....
https://code.google.com/p/android/issues/detail?id=207700
and #57 and try...
it worked for me
Click to expand...
Click to collapse
This?
"The *backup* wakelock is activated once you plug your device into the charger and it continues to manifest no matter what you do because it is stuck in a buggy loop, only reboot will fix it temporarily until you charge the phone again.
Through many trial and error experimentation I finally found an easier fix than rebooting every day.
1- Reboot the phone (just once to fix the wakelock, or the next steps won't work if it's already activated)
2- Before charging the phone, turn off WI-Fi & Google Backup
3- Fully charge the phone
4- Unplug the phone
5- Turn Wi-Fi & Google Backup on again
6- ???
7- Profit!
The culprit is Google Backup, and the bug is activated once the device is plugged into the charger and on Wi-Fi, but if it's turned off before and during charging with Wi-Fi off it'll not be activated.
But if the wakelock is already activated, it won't go away even if you turned backup off.
The Wi-Fi is a strange case, I once rebooted the phone, turned backup off and charged the phone with Wi-Fi on and I had the wakelock. My guess is even with backup off, some logs will still try to backup when Wi-Fi is on (Wi-Fi passwords maybe)
4th day without the Android System battery drain and both my Nexus 6P and Galaxy S7 Edge doze properly now.
Hope It'll help you as it helped me. "
Treboeth said:
This?
"The *backup* wakelock is activated once you plug your device into the charger and it continues to manifest no matter what you do because it is stuck in a buggy loop, only reboot will fix it temporarily until you charge the phone again.
Through many trial and error experimentation I finally found an easier fix than rebooting every day.
1- Reboot the phone (just once to fix the wakelock, or the next steps won't work if it's already activated)
2- Before charging the phone, turn off WI-Fi & Google Backup
3- Fully charge the phone
4- Unplug the phone
5- Turn Wi-Fi & Google Backup on again
6- ???
7- Profit!
The culprit is Google Backup, and the bug is activated once the device is plugged into the charger and on Wi-Fi, but if it's turned off before and during charging with Wi-Fi off it'll not be activated.
But if the wakelock is already activated, it won't go away even if you turned backup off.
The Wi-Fi is a strange case, I once rebooted the phone, turned backup off and charged the phone with Wi-Fi on and I had the wakelock. My guess is even with backup off, some logs will still try to backup when Wi-Fi is on (Wi-Fi passwords maybe)
4th day without the Android System battery drain and both my Nexus 6P and Galaxy S7 Edge doze properly now.
Hope It'll help you as it helped me. "
Click to expand...
Click to collapse
yes this is... i tried this and getting no Android OS KEEP AWAKE.
npt122p2 said:
yes this is... i tried this and getting no Android OS KEEP AWAKE.
Click to expand...
Click to collapse
i did that and still the same problem
therion1985 said:
i did that and still the same problem
Click to expand...
Click to collapse
Any solution got that same huge ideal battery drain. :crying:
Chiming in here with the same problem, never used Google Backup so that's definitely not causing the issue on my device
Currently running the last LOS 14.1 nightly with the default LOS kernel

General S22 exynos wifi bug: No deep sleep

Anyone else noticed that no deep sleep with wifi on?
More:
S22 Exynos Battery Drain on WiFi
Hi, I'm experiencing an issue with WiFi on S22 . When the phone is idle and connected to WiFi it can't switch to "deep sleep" mode and battery drains much faster then when on 4G. Is this a known bug ? Does Samsung is working on a fix ? I need to keep the WiFi turned off currently to reduce the...
eu.community.samsung.com
What makes you so sure it is wifi doing a partial wake lock? How did you analyze?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NisseGurra said:
View attachment 5565615
Click to expand...
Click to collapse
Even in flightmode there no deep sleep with wifi on, tested after factory reset
I confirm this on my exynos s22. There is no deep sleep with wifi enabled.
Untill this issue is resolved,as a workaround, I set a tasker profile to disable wifi and set location services to battery save mode 3 minutes after the screen is turned off. ~ 1-2% battery loss overnight
the wakelock afecting deep sleep is : qcom_rx_wakelock (over 1100 times/h)
Seems only S22 affected?
Other way to minimize the bug: https://play.google.com/store/apps/details?id=de.j4velin.wifiAutoOff&hl=en&gl=US
Just got an update with April security patch. No idea if it has fixed the issue, there is no changelog.
Did not help, samsung sucks big time.
50 eur for an talanted dev that can provide an fix!
mine works on the april patch. it goes to light sleep with wifi on
xjust said:
mine works on the april patch. it goes to light sleep with wifi on
Click to expand...
Click to collapse
Light doze ? or deep sleep?
light doze, didnt have enough time to enter deep sleep today (only flashed it this morning)
It should enter deep sleep in few min after screen off (besides if some activity on tho)
update:
The issue is not fixed yet. 28minutes deep sleep overnight with wifi on.
turned off everything that could cause deep sleep not triggering
turned off wifi, left the phone for 13 minutes -> 10 minutes deep sleep
untill a samsung fix is coming, the tasker autowifioff profile will stay not sure any developer can fix this without rooting the phone
EDIT:
I am getting different results between battery historian and betterbatterystats
Attached photo of historian during the night. Full doze (blue)
Battery still drains a lot in standby during this time. Its good without wifi
reported qcom_rx_wakelock is at 600/h
I switched to "Naptime" app, set wifi off when screen off. Lost 5 % in 8 h sleep
hopefully samsung can fix this in a future update, april patch didnt make the cut for this one
WiFi issues with SIM installed slot1 but not when installed in slot 2
I am having a WiFi issue with a 908E/DS when a SIM is placed in Slot1, I have Issues connecting to 5GHz WiFi sources. Once I place the SIM in slot2 it works flawlessly. Had a similar problem with S21U as well. I have tried with an A73 with 2 SIMs...
forum.xda-developers.com
NisseGura, care to test with mobile sim in slot2 ? i think the wifi issue is solved this way
xjust said:
WiFi issues with SIM installed slot1 but not when installed in slot 2
I am having a WiFi issue with a 908E/DS when a SIM is placed in Slot1, I have Issues connecting to 5GHz WiFi sources. Once I place the SIM in slot2 it works flawlessly. Had a similar problem with S21U as well. I have tried with an A73 with 2 SIMs...
forum.xda-developers.com
NisseGura, care to test with mobile sim in slot2 ? i think the wifi issue is solved this way
Click to expand...
Click to collapse
Tested, did not help, still no sleep with wifi on
might be a multicast issue on your router.
mine actually goes to deep sleep but still the drain is higher than on my previous s21

Categories

Resources