[Official 4.0.4]Wifi suspension police problem - Samsung Galaxy Nexus

Hi, I have updated my GNEX with the full system image and now, whith the wifi suspension selected as 'Turn off wifi when screen off', the wifi doesn´t go off when the screen is off, like it did with the 4.0.2.
¿Someone noticed that?

You are correct, I'm also having this issue in the battery stats display, however, I'm not sure if this is a report fault to the battery stats or actually a fault with the wifi actually not turning off at sleep. Try searching http://code.google.com/p/android/issues/list for the issue. If not, report it there.
EDIT: Opened a new issue: http://code.google.com/p/android/issues/detail?id=28158&thanks=28158&ts=1333358894
Please star if you have this issue.

fregor said:
You are correct, I'm also having this issue in the battery stats display, however, I'm not sure if this is a report fault to the battery stats or actually a fault with the wifi actually not turning off at sleep. Try searching http://code.google.com/p/android/issues/list for the issue. If not, report it there.
EDIT: Opened a new issue: http://code.google.com/p/android/issues/detail?id=28158&thanks=28158&ts=1333358894
Please star if you have this issue.
Click to expand...
Click to collapse
Voted

taylerdurden said:
Hi, I have updated my GNEX with the full system image and now, whith the wifi suspension selected as 'Turn off wifi when screen off', the wifi doesn´t go off when the screen is off, like it did with the 4.0.2.
¿Someone noticed that?
Click to expand...
Click to collapse
This is normal. Wifi will go off 15 minutes after the screen is turned off, no matter if there's traffic or not. The phone also won't suspend before that timeout.
As for battery stats, I think it reports when wifi is turned on (the switch in the settings) instead of if it's actually connected or not.

zapek666 said:
This is normal. Wifi will go off 15 minutes after the screen is turned off, no matter if there's traffic or not. The phone also won't suspend before that timeout.
As for battery stats, I think it reports when wifi is turned on (the switch in the settings) instead of if it's actually connected or not.
Click to expand...
Click to collapse
The first night I left my Gnex on all the night, and when I woke up, I saw the battery stats and wifi was off around 10% of the time, and on the other 90%. So, the battery stats doesn´t report the status of the switch...

zapek666 said:
This is normal. Wifi will go off 15 minutes after the screen is turned off, no matter if there's traffic or not. The phone also won't suspend before that timeout.
As for battery stats, I think it reports when wifi is turned on (the switch in the settings) instead of if it's actually connected or not.
Click to expand...
Click to collapse
The battery stat display should show gaps in the wifi bar when it is turned off, that's the whole point. It was like that in 4.0.2.
I've come to the conclusion that the fault is in the reporting to the batterystats. My wifi actually turns off when in sleep, but it doesn't show up in the battery stats display.

fregor said:
The battery stat display should show gaps in the wifi bar when it is turned off, that's the whole point. It was like that in 4.0.2.
I've come to the conclusion that the fault is in the reporting to the batterystats. My wifi actually turns off when in sleep, but it doesn't show up in the battery stats display.
Click to expand...
Click to collapse
How do you know your wifi is turning off when in sleep?

taylerdurden said:
How do you know your wifi is turning off when in sleep?
Click to expand...
Click to collapse
Well, mainly because it's not connected when I wake the device up again. I've checked this with my router.

Related

[Q] WiFi off but WiFi use reported in battery stats

Anyone have any clue why my ZE550ML (2.19.40.13) is reporting solid WiFi use in the battery stats? I had WiFi turned off, and the options in the advanced WiFi settings also turned off.
Dear kanagawaben,
I don't believe this means WiFi is in use. The screen shot is just showing your history since last full charge. Did you have WiFi turned on at any time since last full charge?
Sincerely,
ASUS_USA
Do you have always-on wifi scanning? Go to wifi > advanced > always allow scanning. However, location will take longer to be identified if it's off. (At least for me)
Asus_USA said:
Dear kanagawaben,
I don't believe this means WiFi is in use. The screen shot is just showing your history since last full charge. Did you have WiFi turned on at any time since last full charge?
Sincerely,
ASUS_USA
Click to expand...
Click to collapse
That was with WiFi turned off the whole time. And with the always scanning option set to off.
kanagawaben said:
That was with WiFi turned off the whole time. And with the always scanning option set to off.
Click to expand...
Click to collapse
same is happening with me wifi is on in battery stats even turned of the advance menu settings.... i have rooted ,xposed and greenify still not getting enough out of battery .....only getting 3 hr SOT low brightness

Battery stat shows wifi ON although actually off: Help required

Since yesterday, all of a sudden, having this weird issue. Wifi is continuously draining battery although it's actually switched Off. Rebooting didnt help. Safe mode didnt help.
In wifi settings, 'Keep wi-fi on during sleep' is set to Never.
In location settings, wifi scanning is turned off.
Didnt make any changes in the past few days. Non-rooted, stock (MTC19V).
Anyone, please HELP.
Ignore
thenessus said:
Disable wifi scanning (search "scan" in system)
It's not draining your battery, your battery stats look great.
Click to expand...
Click to collapse
I already wrote it, scan is turned off.
It appears i am just UNABLE TO TURN OFF WiFi..
Android is a strange fella..
Even the smallest person (object) can change the course of the future..
Forced stopped Clock app and Wifi finally agreed to give up.
It's back to normal after 3 days of agony.
Possibly its just a batterystats issue bro
Try deleting batterystats.bin from root
It may help

I don't think Doze mode is working on my phone...

Hi there,
Please look at the attached screenshot. The red area shows the time I was sleeping. The phone was stationery all night long. It shouldn't decrease like that, right? It should show something more horizontal if Doze is actually working, right? I believe I read something about this somewhere on these forums.
Yes, I do have "WiFi: Always On" enabled. Is that the problem?
My thinking is that I want WiFi always turned on, but I also want Doze. Meaning, if the phone is stationery, not doing anything, it should kick Doze in (which will periodically check for stuff, temporarily turning on/off the WiFi). Is this thinking wrong? If I have "WiFi: Always On" disabled, will Doze work properly and I'll still be notified of any push notifications and whatnot?
What am I missing here?
First off, there are no screenshots. Doze mode is supposed to remove wifi scans and wifi connection regardless if wifi is on. You will get a periodically sync with emails and push notifications( they will be delayed). You will also still recieve sms and mms. How steong is the network connection? Maybe with a weak connection that is what is draining battery.
schmeggy929 said:
First off, there are no screenshots. Doze mode is supposed to remove wifi scans and wifi connection regardless if wifi is on. You will get a periodically sync with emails and push notifications( they will be delayed). You will also still recieve sms and mms. How steong is the network connection? Maybe with a weak connection that is what is draining battery.
Click to expand...
Click to collapse
Sorry, just keep forgetting attachments... Please check the first post again. No, I don't think my connection at home is a weak one. I am connected to a 5GHz network instead of 2.4GHz one. Not sure if that's relevant.
Nazgulled said:
Sorry, just keep forgetting attachments... Please check the first post again. No, I don't think my connection at home is a weak one. I am connected to a 5GHz network instead of 2.4GHz one. Not sure if that's relevant.
Click to expand...
Click to collapse
i think wifi on does prevent from doze and gives wake locks for many... tried by turning off wifi for a night to narrow down the issue?
i might be wrong here but that was afeedback from many users the battery leak/wake locks with wifi always on
SacredDeviL666 said:
i think wifi on does prevent from doze and gives wake locks for many... tried by turning off wifi for a night to narrow down the issue?
Click to expand...
Click to collapse
Not yet, I'll have to try that... However, it doesn't make much sense to me to have it off. I mean, if it's off, even in the doze open windows, wifi will be off, and I won't get any notifications at all unless I turn the screen on. Not a very good user experience. But I'll test it nonetheless to narrow down possible issues.
You may be suffering from the bug discussed here: http://forum.xda-developers.com/htc-10/how-to/wifi-constant-suspend-resume-leading-to-t3392562
At the last page is a kernel that has a fix that seems to be working.
Try out GSam Battery Monitor for some stats.
tkoreaper said:
You may be suffering from the bug discussed here: http://forum.xda-developers.com/htc-10/how-to/wifi-constant-suspend-resume-leading-to-t3392562
At the last page is a kernel that has a fix that seems to be working.
Click to expand...
Click to collapse
Based on your post these seem are most likely the same issue. I just flashed the fix from that thread and it helped TONS. It is still being tweaked before it goes to elementalx officially, but it is working great for me so far!
Yeah, it might be that issue, or not, I'm not really sure. But I used the GSam Battery Monitor app suggested above and I don't think the problem is Doze.
I used that app and start monitoring just before I went to sleep. I've also used ForceDoze just to be sure Doze kicks in (this app will force Doze immediately on screen off instead of just stationery and waiting 30mins). Look at the screenshots. Something is not right, my phone doesn't deep sleep, it's awake all the time.
schmeggy929 said:
..... Doze mode is supposed to remove wifi scans and wifi connection regardless if wifi is on. You will get a periodically sync with emails and push notifications( they will be delayed). You will also still recieve sms and mms.
Click to expand...
Click to collapse
What? Doze is supposed to remove wifi Scans?
If you take a look at the blue "WiFi Scan" line you see the same pause between intervals before doze kicks in as while doze is active.
Doze Mode hasn't really helped me getting less Wakelocks or less battery drain on this device. I just get the feeling there are way to many system/kernel related wakelocks due to HTC's crappy software which ignore doze mode
Oh yeah, the Wifi signal strength was really bad there.... simply because the phone decided NOT to switch to the stronger Network with the same SSID.... well thank you android....
I've used Greenify (which has a notification for Doze mode statistics) and other battery stats apps and I've realized that Doze is in fact working... So, my battery problems are something else.
I just don't get that flat battery graph when doze mode is active, but it must be due to something else...
Thanks everyone that pitched in Save​
Nazgulled said:
I've used Greenify (which has a notification for Doze mode statistics) and other battery stats apps and I've realized that Doze is in fact working... So, my battery problems are something else.
I just don't get that flat battery graph when doze mode is active, but it must be due to something else...
Thanks everyone that pitched in Save​
Click to expand...
Click to collapse
To me it look as though a rouge app could be the culprit.
Have you tried a removing all apps, or doing a clean flash of whatever ROM your on, and if not rooted, an RUU flash and then see if the phone works as should, then this sucks, but you install apps 1 but 1 until you find out which on is the bad apple.
Your phone is def being held awake though by that Gsam battery chart.
I haven't done that and I'm not going to. I don't have time for debugging this issue like that, I need a working phone with the apps I use.
Not trying to sound rude or anything, I know you're just trying to help and I appreciate that. But I just can't do what you're suggesting.
Anyway, shouldn't some battery app help with that. I'm now using BetterBatteryStats. If there's a rogue app, that should allow me to pinpoint the sucker...

HTC 10 WiFi issues

So I have an HTC 10 and I generally like this device but I have a few problems though. Wondering if anyone can help me out.
1. I have extremely high battery drain while using WiFi. Like 1% every minute or two. If I go to sleep leaving the WiFi turned on I may lose 10 to 15% battery life which feels like quite a lot.
2. The battery history graph always displays WiFi as turned on no matter if I turned it on or off. It's basically a solid green line. Does anyone else have this problem or know of any solutions?
Thanks for helping!
jhadsfi said:
So I have an HTC 10 and I generally like this device but I have a few problems though. Wondering if anyone can help me out.
1. I have extremely high battery drain while using WiFi. Like 1% every minute or two. If I go to sleep leaving the WiFi turned on I may lose 10 to 15% battery life which feels like quite a lot.
2. The battery history graph always displays WiFi as turned on no matter if I turned it on or off. It's basically a solid green line. Does anyone else have this problem or know of any solutions?
Thanks for helping!
Click to expand...
Click to collapse
There's a few threads about Wi-Fi issues. I have bad drain as well along with many others.
Here is a main one:
http://forum.xda-developers.com/htc-10/how-to/wifi-constant-suspend-resume-leading-to-t3392562
Check if Wi-Fi scanning is turned on in Wi-Fi setting and turn that off. It keeps Wi-Fi active even when Wi-Fi is off.
andybones said:
There's a few threads about Wi-Fi issues. I have bad drain as well along with many others.
Here is a main one:
http://forum.xda-developers.com/htc-10/how-to/wifi-constant-suspend-resume-leading-to-t3392562
Check if Wi-Fi scanning is turned on in Wi-Fi setting and turn that off. It keeps Wi-Fi active even when Wi-Fi is off.
Click to expand...
Click to collapse
Thanks a lot for helping. I cannot find the WiFi scanning setting though. I checked in Settings > WiFi > Advanced WiFi. Nothing there.
jhadsfi said:
Thanks a lot for helping. I cannot find the WiFi scanning setting though. I checked in Settings > WiFi > Advanced WiFi. Nothing there.
Click to expand...
Click to collapse
Settings->Locations->Three dots(menu)->Scanning

Question A52s 15% battery drain overnight - 0 screen on time, no apps used

Hi, I bought 2 same devices (A52s 5G) for my parents. Problem is with just 1 device (they are set up absolutely the same). The problem is with overnight battery drain. I suspect WiFi is the soruce of the problem, because our WiFi router is set to power of Wifi transmission overnight for 6 hours and turn it on automatically in the morning. The problem is - if I don´t turn WiFi off on the affected device, it eats up 15 percent in 6 hours. On the second device there´s no such problem. WiFi could stay on and in the morning the percentage is down by 1-2 % which I think is perfectly normal since the device is still powered on. Percentage graph shows absolutely nothing in app consumption. For example i fully charge it in the evening and in the morning there is 85 % battery left and battery stats shows screen on: 0 minutes, screen off: 8 hours, no apps used. I think the affected device has problem with searching for WiFi and it want to connect all the time to the router? I would really appreciate your suggestions . Thanks
I'd wipe cache then run device care/optimize.
At night try this. Turn off Wifi, Location. and Bluetooth if enabled along with data.. I do this every night before bed.. When I wake up in the morning i usually have 97% left if it is not on the charger.. When I take it off, and go to work with 100%. It will stay at 100% for up to 3-4 hrs if I leave all mentioned still off.
doubledragon5 said:
At night try this. Turn off Wifi, Location. and Bluetooth if enabled along with data.. I do this every night before bed.. When I wake up in the morning i usually have 97% left if it is not on the charger.. When I take it off, and go to work with 100%. It will stay at 100% for up to 3-4 hrs if I leave all mentioned still off.
Click to expand...
Click to collapse
Yes, if I turn WiFi off, it loses just about 2 percent at night. But if WiFi stays on (parents forget to turn it off in the evening, you know) and it can't connect because my router powers off automatically night, it loses 15 percent, which I think is crazy, isn't it? Can you please try this situation? Would be really grateful
tamas970 said:
I'd wipe cache then run device care/optimize.
Click to expand...
Click to collapse
Tried, with no luck
matthew1811 said:
Yes, if I turn WiFi off, it loses just about 2 percent at night. But if WiFi stays on (parents forget to turn it off in the evening, you know) and it can't connect because my router powers off automatically night, it loses 15 percent, which I think is crazy, isn't it? Can you please try this situation? Would be really grateful
Click to expand...
Click to collapse
It is losing that much, because the wifi is constantly looking for a connection... Keep it on at night and see what happens...
doubledragon5 said:
It is losing that much, because the wifi is constantly looking for a connection... Keep it on at night and see what happens...
Click to expand...
Click to collapse
But you have to turn off your WiFi router, thank you! I tried it on my S21 Ultra, and I lost 3 percent overnight, big difference, right?
Something is quite tricky here , you have 2 same phones with same identical settings and one of them loose over night lot of battery ?
In my humble opinion if you're sure about it there can be only a faulty phone
muppetz said:
Something is quite tricky here , you have 2 same phones with same identical settings and one of them loose over night lot of battery ?
In my humble opinion if you're sure about it there can be only a faulty phone
Click to expand...
Click to collapse
This night I put both phones next to each other, same scenario, before going to bed at 100%. This morning one shows 86 and second one shows 87 percent. Battery stats shows nothing used as usual. So it is problem of both phones, new discovery
Ok , I understand ... There are several settings (look for it) which can save battery over night . 15% battery drain overnight is overall quite too much . My phone , debloated , set with right choices , with moderate use have enough battery for almost 3 days .
What does it mean right choices? Phones are debloated, set with right choices, only thing if parents forget turn off WiFi before bed, in the morning they have 15 percent less battery. So WiFi searching must be culprit. Because WiFi router shuts itself down automatically in the evening. Can someone please confirm that if you leave WiFi ON in phone and turn WiFi router OFF, if you have that much battery drain overnight? Keep everything else off in phone, except WiFi. Thank you
Any recommended debloat/setting guides for the newcomers?
My phone started the same few days ago. I just updtated everything now, will wipe cache, turn off wifi and see what it does overnight.
Turn off 5G, keep only 4G/LTE. This improved my battery life a lot.
I don't have this device so I'm not sure if this works, but Wi-Fi advanced settings should have an option to turn off automatic scanning for Wi-Fi. Try turning that off
I always find always on display feature draining my battery excessively. Try turning it off and see if theres a difference
chirogan said:
I always find always on display feature draining my battery excessively. Try turning it off and see if theres a difference
Click to expand...
Click to collapse
They don't use always on. Anyone who is able to try turning WiFi router OFF at night, but keep WiFi ON (in phone) please? That is the only thing which will tell us more...thanks.
matthew1811 said:
They don't use always on. Anyone who is able to try turning WiFi router OFF at night, but keep WiFi ON (in phone) please? That is the only thing which will tell us more...thanks.
Click to expand...
Click to collapse
Always on display is activated by default (default settings is "Tap to show") Unless you turn it off manually on the settings, it still is always on and drains that much battery as it needs to be always ready to be tapped. Not using it and not seeing Always on display text means it is off in the settings
chirogan said:
Always on display is activated by default (default settings is "Tap to show") Unless you turn it off manually on the settings, it still is always on and drains that much battery as it needs to be always ready to be tapped. Not using it and not seeing Always on display text means it is off in the settings
Click to expand...
Click to collapse
As I said, always on display is turned OFF in both devices. WiFi is the problem, when it´s turned off in phone, it drains 1 percent (max.) at night, when forget to turn WiFi OFF, it drains 15 percent overnight, which I think is crazy.
Arobase40 said:
That could be a problem in the conception of your apartment or your house and the material or furniture in between one of the phone and the wifi router. I have got such a problem but with bluetooth headset when going to the water closet (interference issue) in a temporary apartment when my main one has burnt... ^^ lol
So try to switch both phones at least once and see if the problem persists...
Click to expand...
Click to collapse
It has nothing to do with signal, if phone is connected all night (router stay ON), there is no drain. But when I turn router off (which I want to) and forget to turn WiFi OFF in phone, it drains 15 percent overnight. On both A52s phones. On my S21 Ultra there is zero drain overnight, I can calmly leave WiFi on and turn router off.

Categories

Resources