[Q] Nexus 4 WiFi during sleep setting broken? - General Questions and Answers

I have data completely disabled. Yet no matter the condition of the "Keep WiFi on during Sleep" setting, the WiFi stays on because I can continue to receive messages (IMs not SMS) although delayed by several minutes to the delayed notification bug. Even when it is set to "Never".
Can someone test this and tell me if this is how its supposed to be? Is there a background app/service thats preventing the WiFi from going to sleep?
(In order to test, I used another device to send a whatsapp message to the main device, and it always delivered successfully after about 5 mins of sending).
Thanks

Check this http://forum.xda-developers.com/showthread.php?t=2072930
And maybe this http://forum.xda-developers.com/showthread.php?t=2272140
Tapatalked from my Nexus 4

Lownita said:
Check this http://forum.xda-developers.com/showthread.php?t=2072930
And maybe this http://forum.xda-developers.com/showthread.php?t=2272140
Tapatalked from my Nexus 4
Click to expand...
Click to collapse
I did see them. They are also to do with WiFi issues but slightly different. This is pretty much the opposite problem (WiFi NOT sleeping when screen is off). I'm having both issues at once. So it sort of drifts in and out of sleep irrespective of any settings I can change

Related

[Q] WiFi Sleep Policy

My WiFI Sleep Policy is set to default (After 15 min) however the WiFi is always on. The icon is there when I turn my screen on. Checked the battery usage graph also, and WiFi is always on (as long as I don't turn if off manually).
I have a stock ROM, the latest European stock ROM.
Is this a bug? What does 'After 15 min' actually mean?
I believe it means the wifi will turn off 15 minutes after the screen goes off, and then back on with screen on.
I thought so too, but mine isn't doint that.
teomor said:
I thought so too, but mine isn't doint that.
Click to expand...
Click to collapse
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
teomor said:
I know. I've had it set to Never on my Desire. But now I'm seeing longer standby with the current setting (After 15 min) on my Sensation compared to the Desire. Although I suspect it isn't working and it's actually never turning off.
Click to expand...
Click to collapse
Lol, same upgrade here. TBH I've left it at Never and not tried the other policies.
I use WiFi when at home, I'm on a 3G data plan ( I'm guessing WiFi sleeping means I wouldn't get updated Gmail. Or does it revert back to 3G ?
WiFi sleeping means going back to 3G, yes.
teomor said:
WiFi sleeping means going back to 3G, yes.
Click to expand...
Click to collapse
Thanks, might just try it and see.
Does anyone think that instead of going to sleep after 15 minutes of the screen being turned off (regardless of whether there are background apps that have active internet connections), the WiFi actually starts sleeping after 15 minutes of idle time? I think this would be a better efficiency algorithm, so, as long as you have apps that constantly use the internet, keep WiFi connected, but when no apps are doing auto-sync or any background data, only turn on WiFi when manually using the apps..
Applications can be programmed to call for a WiFi lock. If any active application does so, WiFi won't shut off when the phone is asleep.
gol_n_dal said:
I know there was a recommendation to set "Never" as the sleep policy. I can't find that post unfortunately. I know on my Desire with CM7 it resulted in better battery life, counter intuitive but......
Click to expand...
Click to collapse
I remember that old tips thread. It was set your wifi sleep policy to never. Install spare parts+ or pro and set end button behaviour to sleep. And something to do with Market app. Settings->notifications-> uncheck the box. For some reason market notifications were not allowing your phone to go to sleep properly or some garbage like that. Its worth a shot.

ICS Wifi stays on while on sleep

Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
From my experience, wifi stays on for a little while longer after device sleeps. However, some apps in background may trigger wifi back on again. So I turn off wifi when i go to bed. Actually i notice wifi itself will not drain much battery, 1-2% for 10hr. It's the host apps sucking the juice.
I am not an expert though.
OK i've also checked it out and as you said wifi turns off after some time. My main problem now is that my battery life won't last more than 3-4 hours on wifi.
I have posted my battery stats with use of web browsing and watching pictures on gallery...
jimgeroul said:
My main problem now is that my battery life won't last more than 3-4 hours on wifi.
Click to expand...
Click to collapse
What do you mean "no more than 3-4 hours"? In your battery chart, you can get more than that even starting from 75% battery.
What I wanted to say is that I think my battery won't last more than 4 hours with wifi on and some serious usage.. from my stats as I can see I've been using it 5 hours but I only had screen on and browsing the web. I think there will be a huge difference if I am watching a movie or playing a game.. I don't have the time to check it now but I will post my results in some days..
According to my previous battery graph do you see any problem or something less from what your Xoom battery holds? Does this battery drain seems normal to you?
jimgeroul said:
Hi guy, my wifi won't turn off when my Xoom is on sleep. I have set the settings of 'keep wifi on during sleep' both to 'NEVER' and 'ONLY WHEN PLUGGED' but nothing happens. Wifi stays on and keeps draining my battery life. I am running rooted with the latest version of nightly 62 and I've been having this issue since 55. I have reinstalled, flashed, factory reset, wiped my Xoom.
Is anyone else having this issue? What should I do?
Click to expand...
Click to collapse
I think you'll find it will stay on for about 15 minutes. There is some setting in a system database (using a sqlite editor) that can be changed to bring this down. I doubt Wifi is what's draining your battery. Are you synching email via activesync or running other stuff in the background?
I am only using my yahoo mail from the EMail app. I don't know if it uses activesync. I have set it to check emails every 30minutes.
wifi not turning off
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
lazers378 said:
So there are three options
Keep WiFi on during sleep
1) Always
2) Only when plugged in
3) Never
What option to set if i want Wifi to turn of after some time of when phone sleeps. Previously i had set the option to 15 minutes but that option is not available in ICS and i m having a hard time understanding how these options work on my sensation.
Can anyone explain what each of these options do ?
Click to expand...
Click to collapse
My guess:
1) Always: WIFI always on no matter awake or asleep
2) Only when plugged in: WIFI always on only when plugged to power
3) Never: WIFI will be off if asleep (my current setting)
That was it
invidious07 said:
Edit: I found the wifi sleep option in ICS. Google sure did a great job of hiding it. See attached picture for anyone else having wifi staying on during sleep issues.
Click to expand...
Click to collapse
Thanks, I had not seen the option to turn wifi off during sleep.
--Doug
Bear in mind that (irritatingly) applications can seemingly change this setting.
cspiby said:
Bear in mind that (irritatingly) applications can seemingly change this setting.
Click to expand...
Click to collapse
For an app to change wifi sleep policy, it needs the WRITE_SETTINGS permission.

[Q] Never in Deep Sleep — *backup* always running?

Hi
I've got an issue with my stock and rooted Nexus 5 (4.4.2). Based on what Better Battery Stats shows, the device is always Awake (see attached screenshot "Nexus-5-Never-Sleeps_c.jpg"), or, put differently, never in Deep Sleep (→ "Nexus-5-Never-Sleeps_g.jpg"). Additionally, I see that there's a *backup* Partial Wakelock, which is always running (→ "Nexus-5-Never-Sleeps_d.jpg").
While the battery drain isn't that bad (-17% in 7 hours), I still find that pretty strange. The device was "idle" all that time (ie. just lying there, with constant Wi-Fi and screen basically always off, receiving SMS and vibrating at times).
I have switched from 4G to 3G data connection and have disabled Dropbox photo sync. I also turned off Google+ pictures auto backup (and also sync of Google Fotos and Google+ Fotos in the account sync settings).
Hm, ja, well, how to allow the device to go to sleep/how to find out, what's keeping it awake? What's that *backup* wake lock?
Thanks,
Alexander
That is strange. Hopefully someone can chime in on what backup might be doing but if I ever notice something running abnormally long like that a phone reboot usually fixes it right up.
17% in 7 hours is horrible. I lose maybe 3% in the same amount of time. Have you tried disabling your wifi? Or changing the sleep policy to "only when plugged in" or "never"?
Also, do you have your N5 setup to backup to google servers? I'd disable that as well.
What app did you use to edit your pictures?
Sent from my Nexus 5 using Tapatalk
bblzd said:
That is strange. Hopefully someone can chime in on what backup might be doing but if I ever notice something running abnormally long like that a phone reboot usually fixes it right up.
Click to expand...
Click to collapse
Yeah, a reboot often fixes it - I think I rebooted already. Will do now and report back tomorrow night. Thx.
_MetalHead_ said:
17% in 7 hours is horrible. I lose maybe 3% in the same amount of time. Have you tried disabling your wifi? Or changing the sleep policy to "only when plugged in" or "never"?
Also, do you have your N5 setup to backup to google servers? I'd disable that as well.
Click to expand...
Click to collapse
Disable wifi? How to get data then? That's no solution, as the N5 is then just a paper weight. Data is too expensive and slow.
I have backup enabled. And, well, for kicks and giggles, I'll disable that as well (after tomorrow, as to not mix up results with having rebooted). Where do I disable backup exactly?
FuMMoD said:
What app did you use to edit your pictures?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Skitch → https://play.google.com/store/apps/details?id=com.evernote.skitch
alexs77 said:
Disable wifi? How to get data then? That's no solution, as the N5 is then just a paper weight. Data is too expensive and slow.
I have backup enabled. And, well, for kicks and giggles, I'll disable that as well (after tomorrow, as to not mix up results with having rebooted). Where do I disable backup exactly?
Click to expand...
Click to collapse
I'm not 100% sure what that *backup* represents but I would guess it's the one you can find in Settings under Personal called Backup & Reset. It could also be related to Auto Sync.
alexs77 said:
Disable wifi? How to get data then? That's no solution, as the N5 is then just a paper weight. Data is too expensive and slow.
I have backup enabled. And, well, for kicks and giggles, I'll disable that as well (after tomorrow, as to not mix up results with having rebooted). Where do I disable backup exactly?
Click to expand...
Click to collapse
I'm not saying permanently disable wifi, just when you aren't using it. You can set your wifi to sleep when the phone sleeps. When you turn your screen back on, your wifi will turn back on as well. It's in advanced settings.
For backup, there is an option in settings called "backup and reset".
Ok in wifi go into settings and disable wifi analyze, in locations select Battery saver, if you have app Ops then use it to disable location in the Google play services.
Sent from my Nexus 5 using Tapatalk

[Q] Has your phone ever slept through a text message, call or other notification?

On occasions when the phone is sleeping, it will not alert me of a text message until I've turned the screen on. No LED is flashed and often the alert sound is delayed until the phone is woken as well. Looking at the battery graph there will be no "awake" line during that period though the message will have a properly aged time stamp. Now I think the same thing happened with a missed voice call which is quite disconcerting.
I wonder how many people are experiencing this and might think the LED notification is not working properly, which is a common complaint. I've tried clearing the cache for Hangouts and Dialer and am waiting to see results but this was not happening on a consistent basis.
I got this several times now with WhatsApp but only noticed with one contact (not using Whatsapp very often).
It occurs to me it has something to do with the phone going to sleep but I am not sure.
I don't have whatsapp greenified but turned off "Keep Awake" in AppOps, maybe this was causing the issue. Turned it off now and now I have to wait for someone texting me
I'm stock unrooted, unless it's a glitch with my network then I think it would be an Android bug.
Normally I'd notice this when I woke up and checked my phone, but one time in particular I was having a text conversation with someone expecting a reply back. I turned off the screen. 20mins later I turn the screen on and the message arrives at that moment however the time stamp indicated it was from 15 minutes earlier.
Sent from my Nexus 5 using Tapatalk
bblzd said:
On occasions when the phone is sleeping, it will not alert me of a text message until I've turned the screen on. No LED is flashed and often the alert sound is delayed until the phone is woken as well. Looking at the battery graph there will be no "awake" line during that period though the message will have a properly aged time stamp. Now I think the same thing happened with a missed voice call which is quite disconcerting.
I wonder how many people are experiencing this and might think the LED notification is not working properly, which is a common complaint. I've tried clearing the cache for Hangouts and Dialer and am waiting to see results but this was not happening on a consistent basis.
Click to expand...
Click to collapse
What's the sleep time that you set in display options under settings?
Sent from my Nexus 5 using Tapatalk
Mr hOaX said:
What's the sleep time that you set in display options under settings?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I've always had it at 1 minute time out. Do you think that might be related to the notifications?
I've noticed it happening a lot today. It seems the message might get through eventually just with varried degrees of delay. I would try a phone reset but I don't think it's going to help.
bblzd said:
I've always had it at 1 minute time out. Do you think that might be related to the notifications?
I've noticed it happening a lot today. It seems the message might get through eventually just with varried degrees of delay. I would try a phone reset but I don't think it's going to help.
Click to expand...
Click to collapse
Make sleep time after 10 minutes and observe your device!
I guess this will solve out the issue
It's because of proximity sensor which dims out the display on your nexus
Sent from my Nexus 5 using Tapatalk

Cyanogenmod bugs

Can someone please explain to me whats meant by cdma bug? And also what wifi mac adress is? I mean how will these affect the device.. Not looking for technical info simple and short
Thank you
The CDMA thing is just if your mobile network uses CDMA, and that's just an issue where you have to set preferred network type on first boot.
The MAC address is the address that your device uses on a wifi network (a bit like an IP address). The issue is that it's randomised every time you reboot, so some router things like QOS and whitelisting won't work, but for normal use it doesn't really matter.
Hope this helps ☺
SniperShotgun said:
The CDMA thing is just if your mobile network uses CDMA, and that's just an issue where you have to set preferred network type on first boot.
The MAC address is the address that your device uses on a wifi network (a bit like an IP address). The issue is that it's randomised every time you reboot, so some router things like QOS and whitelisting won't work, but for normal use it doesn't really matter.
Hope this helps
Click to expand...
Click to collapse
THANK YOU I will give CM A try then I thought the CDMA meant no signal lol and the MAC address thing meant no wifi or would limit both the capabilities
b3ava said:
THANK YOU I will give CM A try then I thought the CDMA meant no signal lol and the MAC address thing meant no wifi or would limit both the capabilities
Click to expand...
Click to collapse
Well if you don't set the thing at first boot it is no signal, so remember
I have another thing to report:
The headphones are set to VERY high volume. Even if i turn the volume to the minimum during a call, it is still too loud.
I often have awake and screen on, but i dont actually have screen turned on. How can i see which process is doing this or fix it?
AgiZ10 said:
I have another thing to report:
The headphones are set to VERY high volume. Even if i turn the volume to the minimum during a call, it is still too loud.
I often have awake and screen on, but i dont actually have screen turned on. How can i see which process is doing this or fix it?
Click to expand...
Click to collapse
Does the "double tap to wake" set to on ?
it maybe because of that
tomhtg90 said:
Does the "double tap to wake" set to on ?
it maybe because of that
Click to expand...
Click to collapse
It is, yes. But i was most active on phone that day from 8-16, and in that time you can see that awake and screen-on just kept increasing and didnt "shut off" at all later that day even though not much was going on with the phone. If i remember i even restarted the phone (that sliver missing on the graph).
Right now i have this kind of usage, the way it is supposed to be (ok, not sure whats wrong with the signal, but lets leave that alone for now)
Could it be some app not letting the phone go to sleep or what?
AgiZ10 said:
It is, yes. But i was most active on phone that day from 8-16, and in that time you can see that awake and screen-on just kept increasing and didnt "shut off" at all later that day even though not much was going on with the phone. If i remember i even restarted the phone (that sliver missing on the graph).
Right now i have this kind of usage, the way it is supposed to be (ok, not sure whats wrong with the signal, but lets leave that alone for now)
Could it be some app not letting the phone go to sleep or what?
Click to expand...
Click to collapse
I dont know what happen. But what i saw from your 1st SS, the screen doesn't go to sleep.
U can see what apps that use much battery by simply go back from History details.
On my Battery use stat, Screen always be gonna be the biggest usage (and that's normal). If l lock the phone, the phone does go to sleep (means screen is off and not using the battery until i turn it back on).
On Cyanogen dev thread for our device, some people have bad battery life when double tap to wake is on (me too).
Maybe it's not well implemented yet. So that's why i rather choose not to use that feature for a while until it well implemented.
Ok, thanks for your thoughts. I didnt chech which app used the most power, but perhaps it was Exchange not being able to sign in. I will monitor the behavior (during weekend it should be a lot longer battery life).
Yeah, i think dt2w is not optimised. As long as i have full day of battery it should be enough and for now that is the case.
The volume bug is annoying though.
is it only me that has an issue with Notifications on this phone? It seems that when I am on wifi my internet stops or something.. is there a setting or something I have missed?
No, a lot of users are reporting this bug. I suggest you try the app "Heartbeat fixer for GSM" or "PNF Root" which could fix this. I install one or the other as soon as I get a new phone, and I don't have issues with push notifications that I've noticed so far, but I haven't tested the Mi4C on WiFi yet.
b3ava said:
is it only me that has an issue with Notifications on this phone? It seems that when I am on wifi my internet stops or something.. is there a setting or something I have missed?
Click to expand...
Click to collapse
xdadevet said:
No, a lot of users are reporting this bug. I suggest you try the app "Heartbeat fixer for GSM" or "PNF Root" which could fix this. I install one or the other as soon as I get a new phone, and I don't have issues with push notifications that I've noticed so far, but I haven't tested the Mi4C on WiFi yet.
Click to expand...
Click to collapse
Did you try from scratch?
I put on TWRP, deleted EVERYTHING (system, data, cache...) then put on CM and gapps (opengapps - ARM64 - pico) in one go and for me it works like it should.
About my awake problem: I have left the phone more or less alone during the weekend and it seems it works like expected. I will observe if i find any more strange behaviour like i did a few days ago.
Seems that it sometimes works and sometimes it doesn't the two apps that are mentioned above don't seem to be making a difference.. The funny thing is when I am not connected to WIFI the phone seems to be running fine (notification wise). But when the screen is off and I am on wifi the device seems to be going into some sort of deep sleep most of the times. I think after 2-3 days it hasn't been as bad, but I do get 1 or 2 random hangout notifications not appearing at all..

Categories

Resources