Welcome to CyanogenMod
![]() |
Welcome to our forum. Like most online communities you must register to post, but don't worry this is a simple free process that requires minimal information for you to signup. Be a part of the CyanogenMod Forum by signing in or creating an account. You can even sign in with your Facebook or Twitter account.
|
Wifi sleeps when the device is locked!
#1
Posted 12 June 2010 - 01:56 PM
I want you guys to test the email notifications through the WiFi connection on your N1.
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.
Note that I am not using any kind of MOD. just got the N1 (ATT version) 3 days back with the Android 2.1 pre installed.
Thanks and Regards,
resplendent2209
#2
Posted 12 June 2010 - 02:08 PM
#3
Posted 12 June 2010 - 05:04 PM
Besides the title, I don't really get what your post says, sorry
#4
Posted 12 June 2010 - 05:12 PM
Can you guys confirm that your nexus one is not going to sleep when the screen is off/black?
I mean you can use the ping command and see if your WiFi connection stays active when the screen is off.
Appreciate the help. Thanks.
#5
Posted 12 June 2010 - 05:17 PM
kanhaiya, on 12 June 2010 - 05:12 PM, said:
Can you guys confirm that your nexus one is not going to sleep when the screen is off/black?
I mean you can use the ping command and see if your WiFi connection stays active when the screen is off.
Appreciate the help. Thanks.
#6
Posted 12 June 2010 - 05:24 PM
In fact, the problem with my N1 is that the Wifi goes to sleep the moment screen goes off and the connection becomes active, the moment screen is turned on by tapping the lock key(Even before you swipe to unlock, I mean locking/unlocking is not the point where it starts. It is the screen on/off) irrespective of what the WiFi sleep policy is set to. This is the narrowest I could get to this issue.
Thanks
#7
Posted 12 June 2010 - 05:56 PM
However, it's only doing it on my WP2 network, and not on my WEP network.
#8
Posted 13 June 2010 - 03:08 AM
#9
Posted 13 June 2010 - 03:10 AM
There are few who have this issue and many who don't.
I am gonna see the replacement phone which will be send by HTC coming week. Lets see whether it fixes this issue.
Regards
#10
Posted 13 June 2010 - 03:42 PM
#11
Posted 13 June 2010 - 03:59 PM
#12
Posted 13 June 2010 - 04:50 PM
#13
Posted 13 June 2010 - 11:24 PM
kanhaiya, on 12 June 2010 - 05:12 PM, said:
My N1 (AT&T) suffers from the exact same problem, both with stock Android 2.1_update1 and CyanogenMod 5.0.7. Regardless of what's using Wi-Fi at the time (Wireless Tether, client-mode Wi-Fi via WPA2/WPA/WEP/etc.), whenever the display is deactivated, the Wi-Fi radio appears to shut off. Certainly does not respond to PINGs, and any SSH sessions I have to the phone (via QuickSSHd) hang. Upon reactivating the display, Wi-Fi is instantly restored, and everything continues where it left off.
None of the Wi-Fi sleep policy options affect this behavior. The only way to keep the Wi-Fi on is to run an application that keeps the screen on (Wi-Fi Analyzer, Clock when connected to USB, etc.), which is a serious drain on the battery.
I'm thinking this is some sort of RF kill switch triggered by the display, but it's difficult to narrow down. Makes the Wi-Fi useless for streaming audio and other things
- Mark
#14
Posted 14 June 2010 - 03:10 AM
Prolixium, on 13 June 2010 - 11:24 PM, said:
None of the Wi-Fi sleep policy options affect this behavior. The only way to keep the Wi-Fi on is to run an application that keeps the screen on (Wi-Fi Analyzer, Clock when connected to USB, etc.), which is a serious drain on the battery.
I'm thinking this is some sort of RF kill switch triggered by the display, but it's difficult to narrow down. Makes the Wi-Fi useless for streaming audio and other things
- Mark
Hey Mark,
It looks to me that this is the problem happening with more of ATT version than the T-Mobile.
Btw, did you try contacting Google tech support about this?
I am gonna get a replacement in the next couple of days and if that also has this same issue then It's quite certain that this is the firmware issue.
#15
Posted 15 June 2010 - 01:01 AM
kanhaiya, on 14 June 2010 - 03:10 AM, said:
Negative. Considering I voided the warranty by unlocking the bootloader, I don't think they'll pay much attention to me. I could be wrong, though.. maybe I'll give it a shot.
- Mark
#16
Posted 15 June 2010 - 02:34 PM
#18
Posted 16 June 2010 - 12:45 PM
So I decided to keep the original and sent the replacement back. Will wait for froyo now.
#19
Posted 16 June 2010 - 06:59 PM
Whats the best to do? root it and make some cind of log so some1 can resolve it or go directly to google?
The problem is that it doesn't happen always or at least it didnt work properly anytime just before a few days ago.
I read in a other forum that it should help to manually add the wifi hotspot instead of letting it find it and than tipping in the pass phrase.
Unfortunatly I was a stupid and wildly change settings on my wifi Router so i cant't tell why it works most of the time now.
I have 2.2update1 running.
#20
Posted 25 June 2010 - 04:14 PM
It doesn't stop responding instantly, but does after a minute or so of no data. Wifi settings don't fix it, Wifi Fixer doesn't either(I think the new radio means the current version doesn't work anyways!). I have noticed that pinging my phone as it's initially sleeping tends to keep the wifi awake longer, so that it only completely goes to sleep after I stop pinging it every 1 minute or so. As long as I am sending/receiving any data wifi stays alive.
It's not a gigantic deal to me, as e-mail is the only real thing that is hampered(I guess google talk as well), but as someone without a data plan, I live on Wifi. I just have to physically turn on the screen now to see if I have new mail.
Ideas?
















