WIFI question - Nexus S Q&A, Help & Troubleshooting

Does Gingerbread fix the wifi never sleep bug that has afflicted Froyo? As in even if set to never, wifi sleeps when the screen is off.

The setting works correctly in Gingerbread. Once I changed it to never it stopped turning off.

raylol16 said:
The setting works correctly in Gingerbread. Once I changed it to never it stopped turning off.
Click to expand...
Click to collapse
Thanks for the info.

tibere86 said:
Does Gingerbread fix the wifi never sleep bug that has afflicted Froyo? As in even if set to never, wifi sleeps when the screen is off.
Click to expand...
Click to collapse
No, the bug is still there, at least in my Nexus S

Pollitra said:
No, the bug is still there, at least in my Nexus S
Click to expand...
Click to collapse
Same with mine.. The icon show's it's connected, but the internet will be "dead" and I have to wait 10-30 seconds before wifi will work whenever I turn on the phone.

sano614 said:
Same with mine.. The icon show's it's connected, but the internet will be "dead" and I have to wait 10-30 seconds before wifi will work whenever I turn on the phone.
Click to expand...
Click to collapse
Mine connects in 5-10 seconds after waking phone up and unblocking it, but I'd like it to stay always connected when Never sleep option is selected - otherwise, I can not get SIP calls

Related

[Q] wifi issues

Has anyone experiencing wifi won't connect once it wakes up from sleep. Mine is running the latest 2.2. My wifi keeps turning on and off in a loop until I put it back to sleep, and it does ok. 2nd time.
Any ideas or suggestion?
rob_z11 said:
Has anyone experiencing wifi won't connect once it wakes up from sleep. Mine is running the latest 2.2. My wifi keeps turning on and off in a loop until I put it back to sleep, and it does ok. 2nd time.
Any ideas or suggestion?
Click to expand...
Click to collapse
I have 2 Gtabs... from my garage lab 1 shows 3 bars to basement router, other shows 1 bar to same router... the 3 bars one wakes almost everytime cleanly... the one bar (weaker) one shows similar problem to your's... I loaded power widget on top of one on my homescreens and just use the enable/disable wifi button to retry connect when it doesn't wake first time (else loops trying till disable/enable) and that has always fixed it for me on the tab having weaker signal (bad internal antenna????)...
Well I don't think it has anything to do with the signal strength since no matter where I am close to the wireless router.
Sent from my PC36100 using XDA App
rob_z11 said:
Has anyone experiencing wifi won't connect once it wakes up from sleep. Mine is running the latest 2.2. My wifi keeps turning on and off in a loop until I put it back to sleep, and it does ok. 2nd time.
Any ideas or suggestion?
Click to expand...
Click to collapse
I think this has been an issue with TnT stock (and Lite) since Day One. I usually leave the WiFi on even in sleep mode (in WiFi Advanced Settings) which seems to help.
Or, I use a WiFi widget to just turn off the Wifi before I put it into sleep mode.
roebeet said:
I think this has been an issue with TnT stock (and Lite) since Day One. I usually leave the WiFi on even in sleep mode (in WiFi Advanced Settings) which seems to help.
Or, I use a WiFi widget to just turn off the Wifi before I put it into sleep mode.
Click to expand...
Click to collapse
Thanks. It is good to hear that I am not the only one. Yes, I have started using widget to force things.
I am going to try that advanced settings to see if it works. So far I think it happens when it goes to deep sleep overnight.
jtbnet said:
I have 2 Gtabs... from my garage lab 1 shows 3 bars to basement router, other shows 1 bar to same router... the 3 bars one wakes almost everytime cleanly... the one bar (weaker) one shows similar problem to your's... I loaded power widget on top of one on my homescreens and just use the enable/disable wifi button to retry connect when it doesn't wake first time (else loops trying till disable/enable) and that has always fixed it for me on the tab having weaker signal (bad internal antenna????)...
Click to expand...
Click to collapse
You may be on to something, since my previous G (first 1000), was very picky as mentioned and newer G much better.
There are more then 1000's of these are out there? Anyway to track them by the serials? I have $279 version may be the earlier model.

[Q] Shorten wifi sleep timeout after screen off (Solved)

In the wifi sleep policy, it is possible to set wifi to sleep after screen off. However wifi does not sleep immediately but 15 minutes after screen off. I would like wifi to sleep earlier, say 5 minutes after screen off.
I searched around and found an app capable of doing this. But it is for samsung phones and doesn't work for defy. Does anyone know if and how it can be set manually?
Juicedefender. That is the exact app to use.
I tried Juice Defender. There are options to disable wifi based on connection existence, preset time, data flow etc, but there is no option to set the how long after screen off wifi would sleep.
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Good luck
Hmm I actually set my wifi to never turn off automatically. For instance yesterday I made a phonecall with Skype. My mobile connection is too slow for that so I switched the wifi on. During the phonecall I had the screen turned off but of course the wifi needed to stay on.
I have a widgetsoid widget on my homescreen to enable/disable the wifi. Don't like it when things go automatic and it's just as easy when you need wifi only once in a while.
AgentSmith said:
Hmm I actually set my wifi to never turn off automatically. For instance yesterday I made a phonecall with Skype. My mobile connection is too slow for that so I switched the wifi on. During the phonecall I had the screen turned off but of course the wifi needed to stay on.
I have a widgetsoid widget on my homescreen to enable/disable the wifi. Don't like it when things go automatic and it's just as easy when you need wifi only once in a while.
Click to expand...
Click to collapse
Since i changed my ROM, my wifi actually goes to sleep after 15 minutes and I don't want it to turn off.
How do you set your wifi to never turn off automatically?
naenee said:
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Good luck
Click to expand...
Click to collapse
Thanks! Unfortunately moto doesn't have the settings.db file. I tried putting the mentioned key "wifi_idle_ms" in several other files but no effect.
Edit:
Stupid me. I find the location of settings.db and it works perfectly now
For information, the location of defy's settings.db is:
/data/data/com.android.providers.settings/databases/settings.db
woonaval said:
Since i changed my ROM, my wifi actually goes to sleep after 15 minutes and I don't want it to turn off.
How do you set your wifi to never turn off automatically?
Click to expand...
Click to collapse
In the wifi settings screen, press the menu button to get the advanced options.
ABC_Universal said:
In the wifi settings screen, press the menu button to get the advanced options.
Click to expand...
Click to collapse
wow that was easy, thanks!
woonaval said:
wow that was easy, thanks!
Click to expand...
Click to collapse
Indeed!
Thanks guys; I can now listen to TuneIn radio as long as I want (or my battery allows me to).
If you intend to save battery, maybe you should consider leave "wireless policy" to "never sleep".
It might sound senseless but there are a lot of people reporting substantial battery savings with this, including me, i noticed at least +20 hours in battery life only with this little thing. Charts drawn with Battery Monitor showed the same consumption, Wireless OFF. vs Wireless policy to never sleep. And the most expensive was policy of sleep when screen turned off.
http://forum.xda-developers.com/showthread.php?t=1022390
unrafa said:
If you intend to save battery, maybe you should consider leave "wireless policy" to "never sleep".
It might sound senseless but there are a lot of people reporting substantial battery savings with this, including me, i noticed at least +20 hours in battery life only with this little thing. Charts drawn with Battery Monitor showed the same consumption, Wireless OFF. vs Wireless policy to never sleep. And the most expensive was policy of sleep when screen turned off.
http://forum.xda-developers.com/showthread.php?t=1022390
Click to expand...
Click to collapse
That's probably the case for 3g. But I'm using 2g and find 2g uses less battery than wifi in standby mode (with some background data sync).
naenee said:
Here you go, this should do what you want: http://forum.xda-developers.com/showthread.php?t=774507
Click to expand...
Click to collapse
Thanks, naenee, for the link. In case anyone is interested, I just made a simplified adaptation of RyanZA's guide, specifically for the DEFY: http://forum.xda-developers.com/showthread.php?p=22639770

[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.

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..

wifi turn on automatically.

guys on stock rom.wifi turns on automatically sometime.most often it happens when i leave it for charging and turns on and then turns off after reciveing all the notifications,
Nithin.15 said:
guys on stock rom.wifi turns on automatically sometime.most often it happens when i leave it for charging and turns on and then turns off after reciveing all the notifications,
Click to expand...
Click to collapse
Under wifi setting there is wifi+ ,toggle it off...

Categories

Resources