Wifi Problem in Sleep Mode - Nexus 5 Q&A, Help & Troubleshooting

Hello,
when I lock my screen and the phone goes in sleep mode I don't receive whatsapp messages anymore. I have to unlock my phone and open whatsapp and go in the chat to receive. It's really annoying.
Does anyone else have this problem or even found a solution?
Thanks!
My settings are:
Keep Wi-Fi on during sleep: Always
Wi-Fi optimisation (Minimise battery usage when Wi-Fi is on) is disabled

iDrizzy said:
Hello,
when I lock my screen and the phone goes in sleep mode I don't receive whatsapp messages anymore. I have to unlock my phone and open whatsapp and go in the chat to receive. It's really annoying.
Does anyone else have this problem or even found a solution?
Thanks!
My settings are:
Keep Wi-Fi on during sleep: Always
Wi-Fi optimisation (Minimise battery usage when Wi-Fi is on) is disabled
Click to expand...
Click to collapse
It was fine before and it just happened out of the blue?
I have not had this problem.
Have you tried changing your WiFi settings to see if it does anything?
Maybe wipe whatsapp cache?

Not that it'll help your issue, but you definitely want to leave the Wifi Optimization option on. It will absolutely devour your battery otherwise.

pert_S said:
It was fine before and it just happened out of the blue?
I have not had this problem.
Have you tried changing your WiFi settings to see if it does anything?
Maybe wipe whatsapp cache?
Click to expand...
Click to collapse
I had this problem ever since I had the phone. I didn't have this problem with the phone I had before, the HTC Sensation. What do you exactly mean with changing WiFi settings? The settings in my phone or my router?

iDrizzy said:
I had this problem ever since I had the phone. I didn't have this problem with the phone I had before, the HTC Sensation. What do you exactly mean with changing WiFi settings? The settings in my phone or my router?
Click to expand...
Click to collapse
phone.
settings..wifi...advanced... wifi optimization = checked...

WiFi>advanced> Keep WiFi on during sleep 'always'
Sent from my Nexus 5 using xda app-developers app

Vincent Law said:
Not that it'll help your issue, but you definitely want to leave the Wifi Optimization option on. It will absolutely devour your battery otherwise.
Click to expand...
Click to collapse
I disabled it because I thought it maybe was the problem. But your right, now I can switch it on again.

Related

[Q] My wifi turns on and off

Hey there,
I'm having a weird issue with my stock Nexus S. I've tried a few custom roms, but after realizing that I was better off with stock, I flashed stock again... Now, I've noticed that sometimes, with the WiFi off, I would receive emails and Google+ notifications! It turns out that my wifi is turning on and off, and I don't know how!
I don't have, to my knowledge, installed a program that controls wifi(if you want, I can post my list of apps).
So, what's happening here? Anyone has any idea?
Thanks
Ditto here
strung said:
Ditto here
Click to expand...
Click to collapse
You have the same issue? Can you post your list of installed apps? I seriously don't know what's going on!
This may seem really obvious - but have you double-checked that those notifications aren't coming in via your mobile network?
If you have Juice Defender (or something similar) installed, that might also be responsible for switching on your wifi periodically.
RGX521 said:
This may seem really obvious - but have you double-checked that those notifications aren't coming in via your mobile network?
If you have Juice Defender (or something similar) installed, that might also be responsible for switching on your wifi periodically.
Click to expand...
Click to collapse
Nothing like that... I was just activating my alarm clock for tomorrow and the wifi came on, out of thin air! It shutdown in less than a second, too! And I did absolutely nothing!
Also, I don't have any app like Juice Defender
Ok, so I've flashed the stock rom,locked the bootloader, etc, and I thought I had solved the problem. I didn't, the thing keeps turning on and off!!
I'm seriously thinking about sending it for repairs
you could send it in to samsung or install some newer 2.3.5 kernels which seemed to solve any wifi issues i may have had. Android 2.3.5 made some changes to wifi signal strenght.
dinuvali said:
you could send it in to samsung or install some newer 2.3.5 kernels which seemed to solve any wifi issues i may have had. Android 2.3.5 made some changes to wifi signal strenght.
Click to expand...
Click to collapse
I have stock, and it's the regular nexus S, not the 4G one (so I haven't received 2.3.5 yet).
I'll try installing the 2.3.5 kernels and report back
check your advanced wifi settings.
by default they are set to turn wifi off when screen is off. so even if you have wifi on it will turn off when screen is off automatically.
menu>settings>wireless and network settings>wi-fi settings>menu(softkey)>advanced>wifi sleep policy>check the "never" radio button.
thedudejdog said:
check your advanced wifi settings.
by default they are set to turn wifi off when screen is off. so even if you have wifi on it will turn off when screen is off automatically.
menu>settings>wireless and network settings>wi-fi settings>menu(softkey)>advanced>wifi sleep policy>check the "never" radio button.
Click to expand...
Click to collapse
I wish it were that simple... I've the wifi sleep policy set to never since I can remember. I only turn on wifi when I need it

Wifi disconnectiong after 4.04 update

I've updated my phone 2 days ago.. and I wish I didn't..
My latest issue.. WiFi disconnecting all the time after just a few minutes.. I've already checked wifi settings and wifi sleep policy.. Anyone has more tips to look at the problem?
IVS IVRIS said:
I've updated my phone 2 days ago.. and I wish I didn't..
My latest issue.. WiFi disconnecting all the time after just a few minutes.. I've already checked wifi settings and wifi sleep policy.. Anyone has more tips to look at the problem?
Click to expand...
Click to collapse
does it happen only when your screen is off?
-Sent from my HTC One S.-
I know HTC have smartsync which turns wifi and data off if it is not used
this plays havoc with me at night between 12.00am and 07.00am.
Have a look at this
http://forum.xda-developers.com/showthread.php?t=1708492
Try advanced wifi lock
MarcTremonti said:
Try advanced wifi lock
Click to expand...
Click to collapse
Doesn't that completely prevent your phone from going into deep sleep? Aka drain the battery ridiculously quickly.
I don't understand why HTC can't just get this right. I've never had any other phone that had trouble receiving notifications on Wi-Fi.
-Sent from my HTC One S.-
Same here. I tried every setting. Just have to restart my router every time before connecting. Annoying but working. And after the update the wifi signal is the worst. Much worst than before.
After updating to 4.04 I have the problem that connecting to my Wifi router is no problem, I get full signal (!), but actually using the network is nearly impossible! After using several apps and/or putting the phone in and out of flight mode, i sometimes regain a real connection, but in the morning or after returning home it's gone again...
The disconnecting in sleep mode and not always receiving messages I can live with, not being able to use Wifi at home and thus being forced to use 3G I can't. Anyone have similar problems and also know a solution? I'll try rebooting the router next time, could be a temporary workaround.
I have the same problem after the 4.0.4 update. Wifi signal is incredibly bad now when I previously did not have any issues.
Tried Best Wi-fi performance and its still not as good as the default settings on 4.0.3.
Anyone has any luck factory resetting their phone to restore Wi-fi functionality?
phyrox said:
I have the same problem after the 4.0.4 update. Wifi signal is incredibly bad now when I previously did not have any issues.
Tried Best Wi-fi performance and its still not as good as the default settings on 4.0.3.
Anyone has any luck factory resetting their phone to restore Wi-fi functionality?
Click to expand...
Click to collapse
I try all type of things. Differents roms, kernels, making all can i do on the recovery, factory reset wipe cache dalvik cache fix permissions, reinstalling the ruu 2.31 and doest work the notifications via wifi and the screen off (mode deep sleep) and NOTHING WORKS i am starting to thinking maybe its a problem of hardware/wifi? I dont know but there's people that their notifications works perfectly...
Ivancp said:
I try all type of things. Differents roms, kernels, making all can i do on the recovery, factory reset wipe cache dalvik cache fix permissions, reinstalling the ruu 2.31 and doest work the notifications via wifi and the screen off (mode deep sleep) and NOTHING WORKS i am starting to thinking maybe its a problem of hardware/wifi? I dont know but there's people that their notifications works perfectly...
Click to expand...
Click to collapse
I have the same or similar issue.
My wifi disconnects every minute, even when the screen is on and when I'm using it. I got a replacement phone from T-Mobile and and replacement antenna cover from HTC but still have the same problem. My previous Nexus S and HD2 had no problems with this the wifi and the wifi disconnects on all networks I've tried so far so it doesn't seem like an issue with my router.
I tried a network monitoring app and the wifi disconnected over 350 times in 6 hours.
I am going to try this: http://www.androidcentral.com/how-work-around-wifi-disconnection-issues-htc-one-x-and-one-s
Omnivore said:
After updating to 4.04 I have the problem that connecting to my Wifi router is no problem, I get full signal (!), but actually using the network is nearly impossible! After using several apps and/or putting the phone in and out of flight mode, i sometimes regain a real connection, but in the morning or after returning home it's gone again...
The disconnecting in sleep mode and not always receiving messages I can live with, not being able to use Wifi at home and thus being forced to use 3G I can't. Anyone have similar problems and also know a solution? I'll try rebooting the router next time, could be a temporary workaround.
Click to expand...
Click to collapse
I have same ıssue to
Sent from my HTC One S using xda premium
Perhaps it helps to set a fixed IP and to disable DHCP?
Regards,
V

[Q] WiFi turning off when device is sleeping

My WiFi is intermittently disconnecting when my device is asleep. I wake it up and the WiFi is often 'disconnected', but connects automatically once it's awake.
When I wake my phone, there's no WiFi connection and there's a little '?' next to the mobile signal icon - but when I wake it up, the WiFi connects and the '?' on the mobile signal disappeared.
'Keep WiFi on during the sleep' is toggled to 'always', so I really can't understand why it's doing this.
I've had Lollipop for about a month now, but it's only started happening today. I've 'forgot' the network, restarted the device and reconnected, but it's still dropping out when my phone's asleep.
Cheers
Have you installed any power management Apps recently?
goto to settings>WiFi click menu>advanced. check if the option keep WiFi on during sleep is set to always.
vickyjusme said:
goto to settings>WiFi click menu>advanced. check if the option keep WiFi on during sleep is set to always.
Click to expand...
Click to collapse
Op said it's set to Always in his original post
StLewi said:
My WiFi is intermittently disconnecting when my device is asleep. I wake it up and the WiFi is often 'disconnected', but connects automatically once it's awake.
When I wake my phone, there's no WiFi connection and there's a little '?' next to the mobile signal icon - but when I wake it up, the WiFi connects and the '?' on the mobile signal disappeared.
'Keep WiFi on during the sleep' is toggled to 'always', so I really can't understand why it's doing this.
I've had Lollipop for about a month now, but it's only started happening today. I've 'forgot' the network, restarted the device and reconnected, but it's still dropping out when my phone's asleep.
Cheers
Click to expand...
Click to collapse
I am actually having this same problem. Never happened with KitKat but lollipop I notice it. Also have WiFi set to "always" bit still doesn't work.
gauthier81 said:
I am actually having this same problem. Never happened with KitKat but lollipop I notice it. Also have WiFi set to "always" bit still doesn't work.
Click to expand...
Click to collapse
Did you manage to find a solution to this?
If rooted, and using Titanium backup, avoid backing up the wifi settings. Just touching the two files with TiB, breaks wifi connectivity.
Search Google on how to actually setup TiB for this.
Sent using Tapatalk.
nflwideout86 said:
Did you manage to find a solution to this?
Click to expand...
Click to collapse
No I have not. Seems to do it in various roms. Weird.
Are you on the 5.1.1 radio? Mine has been doing this ever since updating. It has done it on stock 5.1.1, CM CAF 12.1, and the M Dev Preview.
Did Anybody fund a solution to this? My Nexus 6 turns WiFi off almost every time the device sleeps. Ive checked and Keep WiFi on is set to ALWAYS
kandrews8098 said:
Did Anybody fund a solution to this? My Nexus 6 turns WiFi off almost every time the device sleeps. Ive checked and Keep WiFi on is set to ALWAYS
Click to expand...
Click to collapse
I've been having this issue as well. I've contacted google and they've sent me three replacements. Same issue on all of them.
I thought it could be my router, but this isn't happening to any of my other 8 devices. I also see this problem when I'm on different Wifi in different locations. They're getting a specialist to look into my case now
Me also facing issue, I thought it was the Franco or lean droid app that I use to disable network signal when screen is off
Same issue in Marshmallow
Well ever since i updated to Marshmallow i am facing this on my N5.
First i thought its because defult battery optimization that comes with this. So i removed "Google connectivity service" from optimization but it din't help.
"Keep wifi on during sleep" flag is set to 'always' as you guys..
Can't say bug or feature but its annoying..
Anyone has solutions?
Sanshis said:
Well ever since i updated to Marshmallow i am facing this on my N5.
First i thought its because defult battery optimization that comes with this. So i removed "Google connectivity service" from optimization but it din't help.
"Keep wifi on during sleep" flag is set to 'always' as you guys..
Can't say bug or feature but its annoying..
Click to expand...
Click to collapse
Same issue for me...
Inviato dal mio Nexus 7 utilizzando Tapatalk

WiFi is turned off yet is reported as turned on and using battery.

My wifi has been off since i upgraded to M, clean install from the Google images. It still reports my wifi as on and using up my battery....is this a bug or am i reading this incorrectly?
http://imgur.com/a/ow5fj
I don't know if this is a setting in marshmallow, but I know in KitKat if you go into the advanced settings menu on the wifi page there is an option that allows the phone to automatically turn on and scan for networks without any user intervention. That setting should be turned off.
reinert012 said:
My wifi has been off since i upgraded to M, clean install from the Google images. It still reports my wifi as on and using up my battery....is this a bug or am i reading this incorrectly?
http://imgur.com/a/ow5fj
Click to expand...
Click to collapse
You're not alone I'm using mine, but WiFi wasn't on top of the list ever in 5.1.1. Has to be a bug
Ive got this issue as well. Its really annoying. I always keep Wifi off to extend battery life but with M I might as well just keep it on...
goldswimmerb said:
Ive got this issue as well. Its really annoying. I always keep Wifi off to extend battery life but with M I might as well just keep it on...
Click to expand...
Click to collapse
Ugh, this is not good.
CalculatedRisk said:
I don't know if this is a setting in marshmallow, but I know in KitKat if you go into the advanced settings menu on the wifi page there is an option that allows the phone to automatically turn on and scan for networks without any user intervention. That setting should be turned off.
Click to expand...
Click to collapse
huh...mine is set to Always keep wifi on during sleep. Does that matter even if wifi is off?
Since I'm still running kitkat i can't speak for marshmallow, but on KitKat, the wifi on/off toggle takes priority over that setting. Wifi will only stay on during sleep if it was turned on to begin with, but that isn't the issue you guys are experiencing right? There might be an option in that same menu that says something like "let Android search for networks even if wifi turned off". That gives the results you guys are experiencing.
Go to settings-->location-->menu-->scanning and check if WiFi and Bluetooth scanning options are kept on..
I don't have this issue..
Sent from my Nexus 5 using XDA Free mobile app
vipinbp said:
Go to settings-->location-->menu-->scanning and check if WiFi and Bluetooth scanning options are kept on..
I don't have this issue..
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Both are checked, i unchecked them both. What were the status of yours?
When I flashed the Factory Image (6.0) I had this problem. I flashed back to 5.1.1 booted the phone. Then booted into recovery and sideloaded the OTA update to 6.0 booted the phone and preformed a factory reset. I do not have this problem anymore. Wifi doesn't even show up in the battery stats.
jdawg0024 said:
When I flashed the Factory Image (6.0) I had this problem. I flashed back to 5.1.1 booted the phone. Then booted into recovery and sideloaded the OTA update to 6.0 booted the phone and preformed a factory reset. I do not have this problem anymore. Wifi doesn't even show up in the battery stats.
Click to expand...
Click to collapse
Edit Pics
reinert012 said:
Both are checked, i unchecked them both. What were the status of yours?
Click to expand...
Click to collapse
During initial setup Google asked me if I wanted to keep WiFi scanning enabled to help apps with location to find the location easily.. I declined.. Hence they were off..
Did it help with the battery?
Sent from my Nexus 5 using XDA Free mobile app
Just an update on battery life. 1.5h SOT no WiFi bug (after sideloading the OTA update) also noticed the battery graph added Camera and Flashlight if they were used
Also discussing the same issue here:
http://forum.xda-developers.com/google-nexus-5/help/wifi-plaguing-android-marshmallow-t3220031
Try to set it 2.4 Ghz only instead of auto (2.4 +5)

Wifi turning itself off

I have just bought the 6gb 128GB version in grey and am really liking it apart from one issue I cannot seem to resolve. When the phone is in standby mode it turns the wifi off. I have no battery optimization apps running, and I have wifi scanning enabled when the phone is in standby.
Does anyone know what can be causing this? It is starting to become very frustrating when I am streaming from Sonos and it cuts out after 3 minutes. I am on 7.1.1 and the phone is unrooted. I have searched but cannot find anything apparent. I have also cleaned the phones cache in recovery, didn't help.
I think I also have this issue. I've set my phone to do some backups to my drobo while I sleep but they never seem to finish. I didn't have this issue on my Galaxy S7.
Did a system restore in recovery. Seems to have sorted it. Must have been some bogus app I installed.
Go to settings - wifi - wifi settings and change keep wifi on while sleep to always
Sent from my HTC U11 using Tapatalk
This seems to be the default setting already
JrWriter87 said:
Go to settings - wifi - wifi settings and change keep wifi on while sleep to always
Sent from my HTC U11 using Tapatalk
Click to expand...
Click to collapse

Categories

Resources