WiFi sleeps when device is locked!
As the title says,
I want you guys to test the new email notifications when the device is connected through WiFi.
For this you've to set the WiFi sleep policy to never and the Background and Auto sync option needs to be checked.
Well, I don't get any notifications. I went an extra mile ahead and pinged the IP address and found that I get "request timed out" error when device is locked and when it is unlocked, the packets are received properly.
Waiting for you guys response.
Thanks and Regards,
- 06-12-2010, 01:57 AM #2
Yes, that is because the Android OS (at least for me) by default puts wifi to sleep when has been inactive. The bad part about that is that it seems to shut the data services from the carrier down as well.
My solution was actually using wifi only when I needed to d/l a file (rom... etc).
If you're rooted, you can use "Spare Parts". There is an option so you can disable wifi sleep.
- 06-12-2010, 10:12 AM #6
- 06-12-2010, 01:02 PM #7
- 06-12-2010, 01:11 PM #8
In the house I'm always connected to a power source,
but wifi does not work well for me when it is on. When
I did have it on, I would receive my Gmail 30secs-2/3
minutes after my iPhone and BlackBerry would get it.
With wifi off, I now receive it within 10 seconds of
- 06-12-2010, 01:16 PM #9
For the record, I tested this with resplendent2209 and with WIFI sleep NEVER, the phone remains ping-able while locked, screen off.
For testing, tap Settings / Wireless and networks / Wifi Settings / then tap your router's SSID (which should say connected below it).
A pop up will show you your IP address. Remember that.
Dismiss the pop up, and, on the same screen, tap Menu / Advanced / Wifi Sleep policy.
Set to NEVER to cause the phone to keep the wifi radio on while in sleep mode, saving batterty, and allowing notifications over wifi.
Then from another computer on the same network, ping your N1 via its ip address, then put the N1 to sleep, (lock it) and ping it again. The pings should go thru in all cases as long as NEVER is set.
CAVEAT: Most users would not care if the phone fell off wifi and reverted to 3G. Other than the extra power consumption, 3G is just as good as WiFi for a locked phone.
But in this case resplendent2209 is testing with a N1 without a data plan, and fall over to 3G leaves him with no notifications.
- 06-12-2010, 01:25 PM #10
- 06-12-2010, 01:26 PM #11
- 06-12-2010, 01:45 PM #12
- 06-12-2010, 04:00 PM #13
Yes there is a bug for some 2.1 nexus sinner where the WiFi sleep policy does not work for some reason, but it seems to work for me no problem. It actually saves battery setting sleep policy to never because then it doesn't switch to 3g when the WiFi goes to sleep.
- 06-12-2010, 04:49 PM #14
- 06-12-2010, 08:27 PM #15
- 06-12-2010, 09:01 PM #16
Lets see what the replacement NEXUS one has to offer me in the coming week. I will see to it that the replacement phone is near to perfect.
icebike has helped alot in troubleshooting my WiFi issue and I can now confirm that it is my device which is at fault as rogerpodcaster also said the same above in one of his post.
- 06-12-2010, 11:08 PM #18
I'd be surprised if it turns out to be a hardware issue. I am experiencing the same thing with my Nexus One, but so are my friends with Incredible's and EVO 4G's.
It is most noticeable for us with loss of gtalk connectivity after a few minutes of the phone sitting idle (as soon as you open gtalk you get a signing in message or just a rush of new incoming messages). I don't experience gtalk disconnects or delays if I stay in 3G mode.
The whole wifi stack seems immature. if you have wifi on when you go to sleep you often wake up in the morning to find 3G connection only, requiring manually reconnecting to router. Also, unlike my BlackBerry which could connect and disconnect from wifi automatically, as I walked into a building, the Nexus One rarely automatically connects. I suspect it all is related.
Strange coincidence if its a hardware thing.
- 06-12-2010, 11:32 PM #19
- 06-12-2010, 11:39 PM #20
automatically disconnect when I'm out of range.
It's actually quite annoying because I'll leave my
house, go on the road and since I'm driving, I use
the voice recognition to dial, but it requires data,
but since I'm already on the highway, it needs to
use 3G. The probably is that it shuts off 3G and
is still trying to latch on to either my home network
or any wifi signal (not sure which yet). I have to
manually shut wifi off to be able to get it to work.
At this point, I would have been better off finding
the contact manually in my recent call log.
- 06-13-2010, 01:50 AM #21
- 06-13-2010, 03:08 PM #22
- 06-13-2010, 03:11 PM #23
- 06-13-2010, 06:54 PM #24
- 06-13-2010, 09:06 PM #25