I wanted to keep IM software run in background so I need WiFi keep alive even if the screen is off. I'v set the WiFi policy to "Never" in settings. But it always disconnect when screen is off so my IM software will offline... I don't have this problem before. But today I have tried many Roms such as Bionix's Master's and Trigger, they all have this problem. I don't know why.. please help.
PS: I'v tried to uninstall "Super Power" to see if there are some setting cause it. But it's no help.
Thanks everyone!
Download spare Parts (Some ROMS already have it). In it there is a wifi sleep policy that you can set to "Never" as in "Never go to sleep."
EDIT: Oh, you said you already tried that. Sorry.
ColorNapkin said:
Download spare Parts (Some ROMS already have it). In it there is a wifi sleep policy that you can set to "Never" as in "Never go to sleep."
EDIT: Oh, you said you already tried that. Sorry.
Click to expand...
Click to collapse
Yeah, Thanks but I'v tried.
While in wifi settings, menu > advanced, sleep policy.
This REALLY helps with uploading youtube videos.
s15274n said:
While in wifi settings, menu > advanced, sleep policy.
This REALLY helps with uploading youtube videos.
Click to expand...
Click to collapse
Hes already tried that
I found that it always disconnect and reconnect when I unlocked the screen. Why?
Anyone found a solution???
Related
Hi guys, I have an issue with my wifi. Here is the scenario:
When I am at uni I use the wifi they provide. No proxies, just a password.
It is woking fine and data is syncing. However, only when the screen is on.
Whenever the phone takes a little nap, the connection seems to vanish as I do not get mails, messages (whatsapp), or facebook notes.
Now some weird facts:
It is working fine at home with my own wifi.
It is working fine for a friend (using an iphone4 at uni)
So it must be something specific to the S2 and the schools wifi. Any ideas guys?
Help is very much appreciated!
Go inside Wifi settings, Menu- Advanced and change Wifi policy to like this,
Sent from my GT-I9100 using Tapatalk
Thanks for the quick reply! My appologies for not mentioning this, but it was already set to Never.
EDIT: I am at home right now. Is this setting different for different wifis?
mephusio said:
Thanks for the quick reply! My appologies for not mentioning this, but it was already set to Never.
EDIT: I am at home right now. Is this setting different for different wifis?
Click to expand...
Click to collapse
Well I'd like to know why my goddamn wifi NEVER sleeps even though it's meant to sleep with policiy set to sleep then screen turned off!
Mods: Please move this thread if needed. This app is specific to CM7, so I wasn't sure which section I should post it in.
Everyone else: If this has been addressed elsewhere, please let me know.
I am currently running CyanogenMod-7-09252011-NIGHTLY-encore with interactiveX scaling between 300MHz and 1300MHz (using SetCPU 2.1.1a and Nook Tweaks 1.4.3) on my NookColor (NC), and was experiencing at least one Sleep of Death (SoD) every day. I believe I have a solution to this problem, and it has helped me avoid SoD for the last two weeks.
* I installed Wake My Android Pro (free, but here is a mirror)
* I then set "Invisible Wake Every" to 9 minutes (longer durations seem to not help protect against SoD). Do not select "Auto StartUp" until you're sure the app doesn't mess around with the stability of your NC.
* Then, in Settings -> Display, I set Screen Timeout to 30 seconds.
This will wake up your NC for 30 seconds every 9 minutes. In conjunction with disabling WiFi when the screen is off (Settings -> Wireless & networks -> Wi-Fi settings, click Menu -> Advanced -> Wi-Fi sleep policy -> Never), I have not experienced a single SoD in the last two weeks.
As always, your mileage might vary, and this might render your NC inoperable. It has worked for me, however, so I thought I'd share this info with you. If you find this helpful, won't you please consider clicking the "Thank" button at the bottom of this post?
Thanks for reading, and have a wonderful day!
Or you could apply the kernel here instead?
Frank
frankusb said:
Or you could apply the kernel here instead?
Frank
Click to expand...
Click to collapse
This
---------------------------------
Sent from my LG Optimus V using Tapatalk
Or any other of a dozen solutions. Why make a new thread??
Thank you for the link to the updated kernel, no more SOD's since install. Thank god.
unsivil_audio said:
Thank you for the link to the updated kernel, no more SOD's since install. Thank god.
Click to expand...
Click to collapse
A question:
Those of you who are using nook color and CM 7.1
Have you ever tried to disable mobile data?
In Wireless & Networks > Mobile Networks > Uncheck "Data enabled".
I think the problem is that when the system tries to switch from Wi Fi to (non existing) mobile, it causes the sleep of death.
This solved the problem, at least for me!
luispotro said:
A question:
Those of you who are using nook color and CM 7.1
Have you ever tried to disable mobile data?
In Wireless & Networks > Mobile Networks > Uncheck "Data enabled".
I think the problem is that when the system tries to switch from Wi Fi to (non existing) mobile, it causes the sleep of death.
This solved the problem, at least for me!
Click to expand...
Click to collapse
thanks for the suggestion-- i'll try it, and report back.
--edit: had SOD when i woke up today.
the app doesn't help either- back to disabling wifi when the screen turns off.
jeff.p said:
the app doesn't help either- back to disabling wifi when the screen turns off.
Click to expand...
Click to collapse
Try this one.
https://play.google.com/store/apps/details?id=eu.thedarken.wl
Select PARTIAL_WAKE_LOCK and then hit "Aquire"
Update: This application wouldn't help either. But clean install of 4.0.4 with related boot, recovery, etc. and OTA to 4.1.1 did the trick. And now with clean Android I have no any SOD for more than two weeks!
Only thing I disabled Google Media and Google Assistant.
grym said:
Try this one.
https://play.google.com/store/apps/details?id=eu.thedarken.wl
Select PARTIAL_WAKE_LOCK and then hit "Aquire"
Click to expand...
Click to collapse
i'm using the patched wifi module now. but thank you.
Why does my wifi turb off when my screen does?? I need it for WiFi calling where i live! Please help.
Sent from my HTC_Amaze_4G using Tapatalk
Do you have the wifi sleep policy set to never?
Sent from my NRGized Amaze...
via xda premium
aj_2423 said:
Do you have the wifi sleep policy set to never?
Sent from my NRGized Amaze...
via xda premium
Click to expand...
Click to collapse
To change THIS policy, go to settings > Wireless & Networks > WiFi Settings
Go into advanced, and there's the WiFi Policy.
Keylogger_0 said:
To change THIS policy, go to settings > Wireless & Networks > WiFi Settings
Go into advanced, and there's the WiFi Policy.
Click to expand...
Click to collapse
I have the same issue,but I do not see advanced in WiFi settings. Any idea why?
dinodan said:
I have the same issue,but I do not see advanced in WiFi settings. Any idea why?
Click to expand...
Click to collapse
When you are at the page looking at all the available WiFi hotspots, press menu key and the 2 options will show up. The one on the right is to go to advanced menu
Oops, I almost forgot I posted this. But thank you so much, that fixed it!!
Sent from my HTC_Amaze_4G
morrislee said:
When you are at the page looking at all the available WiFi hotspots, press menu key and the 2 options will show up. The one on the right is to go to advanced menu
Click to expand...
Click to collapse
Super big thanks, I have never pressed the menu key when looking at the settings.
similar problem
I am having a similar problem, wifi shuts off when the phone ISNT plugged in, and the screen turns off. Tried the fix suggested here, didnt change anything.
What I have noticed is that my old router didnt have this issue, got a newer (and better?) one, and this started.
had this problem with my G2, and now mytouch 4g slide.
any help would be awesome, thanks.
Rubberbands said:
I am having a similar problem, wifi shuts off when the phone ISNT plugged in, and the screen turns off. Tried the fix suggested here, didnt change anything.
What I have noticed is that my old router didnt have this issue, got a newer (and better?) one, and this started.
had this problem with my G2, and now mytouch 4g slide.
any help would be awesome, thanks.
Click to expand...
Click to collapse
The answer is quite simple. Go to .... Settings, find Wifi, click on the WiFi Settings NOT the On/Off Switch...when you're in that screen click on your phones Menu , Advance , and adjust your WiFi Sleep Policy.
Sorry...its called Keep WiFi on during sleep...
-
~~~~~~~~~~~~~~~~~~~~~~~~
It's Better To Fail At Originality
Than To Succeed In Imitation.
-Mighty Healthy
Click to expand...
Click to collapse
Double0EK said:
The answer is quite simple. Go to .... Settings, find Wifi, click on the WiFi Settings NOT the On/Off Switch...when you're in that screen click on your phones Menu , Advance , and adjust your WiFi Sleep Policy.
Sorry...its called Keep WiFi on during sleep...
-
~~~~~~~~~~~~~~~~~~~~~~~~
Click to expand...
Click to collapse
that is already enabled, was that way when I got the phone. its something else.
Even the wi-fi sleep policy set to NEVER...it is turning off when screen is off
solution plz
plz don't tell to install Advance wi-fi lock, etc. apps..
I actually did testing on this issue, and I posted it on another thread. I hope this helps. The post can be found HERE.
morrislee said:
When you are at the page looking at all the available WiFi hotspots, press menu key and the 2 options will show up. The one on the right is to go to advanced menu
Click to expand...
Click to collapse
I've never looked on advanced menu in wifi settings and didn't know about this menu until now.. :laugh: thanks!
I've been try to extend the life of my battery, and one of the things I have done is set the SETTINGS/WIFI/ADVANCED "keep WIFI on during sleep" to "never".
I make this change, but most times when I go back into the settings later on, it's changed back to "Always"
Anybody offer a clue as to why this might be happening?
Thanks.
greatcapp said:
I've been try to extend the life of my battery, and one of the things I have done is set the SETTINGS/WIFI/ADVANCED "keep WIFI on during sleep" to "never".
I make this change, but most times when I go back into the settings later on, it's changed back to "Always"
Anybody offer a clue as to why this might be happening?
Thanks.
Click to expand...
Click to collapse
no idea mate it shouldn't do as i have mine set to never and it stays like that, have you been flashing ROM's or anything like that maybe that could explain it!
No, not really.
The only thing I've done is rooted it. Apart from that, It's still got stock Samsung Rom on it.
Just checked again, and even tried setting it to "only when plugged in, but after 15 mins or so, it's back to "always" again.
greatcapp said:
No, not really.
The only thing I've done is rooted it. Apart from that, It's still got stock Samsung Rom on it.
Just checked again, and even tried setting it to "only when plugged in, but after 15 mins or so, it's back to "always" again.
Click to expand...
Click to collapse
sorry i cant be of any assistance to you mind doesn't do that,. maybe someone else might know?
jonny68 said:
sorry i cant be of any assistance to you mind doesn't do that,. maybe someone else might know?
Click to expand...
Click to collapse
For anyone else who might come across the same issue.
After doing a factory reset, and putting apps back on one at a time, I found out it was DoubleTwist Airsync, that was changing the "WIFI sleep" option.
Apparently, the developer knows this, but wants it to work that way.
So it's now gone for me
But you won't lose too much battery on an 7 hr sleep with the always on setting.
I go to sleep with my S3 on 98% and wake up with 92-94% battery left even with received messages from 3 email accounts and other notifications.
<------------------------------->
Sent from my S3 using Tapatalk
I keep mine on always. I lose 3% during an 8hr sleep and it'll automatically connect to my carrier data when my network is not in range. Sure beats turning it off and on a handful times a day.
Weird is that WiFi is active in either option you shoose during sleep. Even if you choose NEVER, open your battery use stats and you'll see that WiFi was active all the time during sleep. I cannot understand why is this issue so underrated here on XDA forums. Or is it some kind of misinterpreting from my side???
Moonsower said:
Weird is that WiFi is active in either option you shoose during sleep. Even if you choose NEVER, open your battery use stats and you'll see that WiFi was active all the time during sleep. I cannot understand why is this issue so underrated here on XDA forums. Or is it some kind of misinterpreting from my side???
Click to expand...
Click to collapse
Yup afaik, choosing never will produce a wakelock to check the phone state and keeping it on will cause it to constantly scan even if connected to a network. Both choices will eat up battery.
I see many threads suggesting to just manually turn it off, preventing scanning, wakelocks and syncing all together.
Sent from my GT-I9300 using Tapatalk 2
rab1412000 said:
Yup afaik, choosing never will produce a wakelock to check the phone state and keeping it on will cause it to constantly scan even if connected to a network. Both choices will eat up battery.
I see many threads suggesting to just manually turn it off, preventing scanning, wakelocks and syncing all together.
Sent from my GT-I9300 using Tapatalk 2
Click to expand...
Click to collapse
So it is normal that if i choose Never in wifi sleep policy phone, i find the wifi always on in battery stats? This question is not so clear...
Is there any explanation of wifi toggles by author... Google?
Sent from my GT-I9300 using xda app-developers app
giovag7 said:
So it is normal that if i choose Never in wifi sleep policy phone, i find the wifi always on in battery stats? This question is not so clear...
Click to expand...
Click to collapse
I'm not so sure if you will see wifi in the battery stats as I think wifi processes are part of the Android system in settings >battery.
Sent from a Galaxy far, far away
So has this problem not been solved?
SlimJ87D said:
So has this problem not been solved?
Click to expand...
Click to collapse
i also have this problem with omega v34..i hope it will be fixed
I use the app keep Wifi alive. It pings my server to ensure I don't lose a connection. I the only thing I see missing with it is that my email sync stops until I go to mobile data.
Sent from my SGH-T999 using xda app-developers app
Greetings. I have a problem with my phone and Wi-Fi connection.
My phone is a Sony Xperia J running stock Android 4.1.2. When I leave it for a while in sleep mode, whether charging or not, it disconnects from my Wi-Fi connection and uses my phone's data, draining my data plan.
I need your help concerning this issue. Here are some of my phone's related settings:
Keep Wi-Fi on during sleep: Always.
Avoid poor connections: Unchecked.
Extended Standby Mode: Unchecked.
Thanks in advance.
UPDATE: Since then I've disabled my data plan so I can check if my phone is properly connecting to my Wi-Fi or not. It seems that yesterday I had no problem, but today I'm experiencing it. I don't know what should I do. :crying:
Maralagidyne said:
Greetings. I have a problem with my phone and Wi-Fi connection.
My phone is a Sony Xperia J running stock Android 4.1.2. When I leave it for a while in sleep mode, whether charging or not, it disconnects from my Wi-Fi connection and uses my phone's data, draining my data plan.
I need your help concerning this issue. Here are some of my phone's related settings:
Keep Wi-Fi on during sleep: Always.
Avoid poor connections: Unchecked.
Extended Standby Mode: Unchecked.
Thanks in advance.
Click to expand...
Click to collapse
Did u use SIPdroid?
If yes uninstall it.
Sent from my OPO using CM14.1 <3
Also make sure that you don't have the battery saver mode on or another app that tries to save battery because they will often interfere and disable that for you as well.
KrYptoNxXx said:
Did u use SIPdroid?
If yes uninstall it.
Sent from my OPO using CM14.1 <3
Click to expand...
Click to collapse
No, I don't have that app installed.
es0tericcha0s said:
Also make sure that you don't have the battery saver mode on or another app that tries to save battery because they will often interfere and disable that for you as well.
Click to expand...
Click to collapse
I don't have that mode on either on my phone settings or my app's.
* * *
UPDATE: Since then I've disabled my data plan so I can check if my phone is properly connecting to my Wi-Fi or not. It seems that yesterday I had no problem, but today I'm experiencing it. I don't know what should I do. :crying:
Only other setting I can think of that controls that is in Developer Options. There's one that's aggressive hand off from wifi to cellular data and one for keep data on at all times. If you haven't enabled Developer Options yet then forget I mentioned it as it'll not be on by default.
es0tericcha0s said:
Only other setting I can think of that controls that is in Developer Options. There's one that's aggressive hand off from wifi to cellular data and one for keep data on at all times. If you haven't enabled Developer Options yet then forget I mentioned it as it'll not be on by default.
Click to expand...
Click to collapse
I have Developer Options enabled and I don't see any of these options there.
Anyway, I think I have found the cause of the problem (a conflicting application, I just did a clean reinstall of it) and so far I'm good, if the problem persists I'll post again.
Thank you everyone who participated in this thread.
Glad to hear that it seems you found the cause. Please let us know what app in case someone else has the same issue and stumbles across your post.
Well, it was WhatsApp. Apparently I had a duplicate APK in my SD card (I use Link2SD) from before the factory reset. I say it was a duplicate because I unlinked WhatsApp from the SD card, but when I uninstalled it it said it was removing it from the SD card.
Thanks again!