WiFi doesn't connect to saved network with screen off - Galaxy S 4 Q&A, Help & Troubleshooting

Hi, I'm on 5.1.1 latest CM 12.1 nightly. My problem is in the title. I've updated my modem to the latest and still no go. As soon as I turn on the screen, it connects within 3 seconds. How do I get it to scan/connect with screen off? Also, maybe there's a setting I can change in the wifi_sleep_policy? Not sure or maybe etc\wifi. Thanks.
Edit* It works fine on Touchwiz.

Make sure you do not have a power saving option enabled to shut off WiFi on sleep, also check for Background Scanning to be enabled under WiFi settings.

Related

[Q] Wi-fi doesn't turn off

The problem is that Background Data and Sync ignore the wi-fi policy meaning that the settings to disable wi-fi don't actually disable wi-fi, they just block applications from using wi-fi. The OS can still use it and it still drains power.
That basically means you can never disable wi-fi unless you go in and change multiple settings. The wi-fi policy when the screen is off is useless. Any toggle wi-fi widget you put on the page don't work.
Manually refreshing gmail shows 'no connection' - browser wont connect. But the OS can still get your email and download attachments. Relegating any wi-fi policy to a 'user stop function', not a 'data stop function'.
I have a toggle wi-fi widget on my home screen. I have wi-fi toggled off (also shows as off in settings) I *just* saw the widget flick on for a second, then flick back off. That's the Background data/ sync kicking in right there and that's my whole point.
Another point - if you have disabled wi-fi then turn it back on, it should be looking for the router and getting an IP address. It doesn't do that. When you turn it back on all it does is enable applications to connect. Meaning, when you disable it (via settings>disable wi-fi or disable wi-fi policy) all it does is make the software think you're not connected. It doesn't actually disconnect from the router.
It still shows in your routers wireless list (which it shouldn't if it's disconnected) and ping test will fail because it will refuse any incoming/outgoing requests that aren't from the OS (background data / sync)
If you wait for the background data/sync to connect, you can then ping your tablet and it will work. A security issue as far as I'm concerned.
UPDATE | May 05
An update. I can confirm that the wi-fi will never turn off for me. I have toggled it off and put it in airplane mode and I will still get email notifications.
Under battery power it even still shows wi-fi as taking 4% even though by all settings it is off.
The gmail application shows 'no connection'. If i refresh it, nothing happens. If i turn the screen off, eventually it will sync/connect and I will get email - even though I also have the wi-fi set to off when the screen is off.
So to sum-up - wi-fi never turns off. Ever.
You can help by testing!
Disable wi-fi
Set the policy for wi-fi to disable when screen is off
Go to home screen
Turn off the screen
From another location, send yourself an email
Wait for notification on your tablet or wait for about 5 minutes
Turn on your tablet, email should be waiting for you.
UPDATE | 12:15pm
On the phone with acer support and they confirmed this is the case. They started to explain about Background data and Sync and I stopped them right there. This isn't a settings issue, this is an OS/Hardware issue.
Going to the next tier.
UPDATE | 12:30pm
Everything is confirmed with tier 2 and for what it's worth, it'll be pushed further down the chain and looked into.
I had to clarify with them that the issue was with the OS/Hardware and it's not software. If the wi-fi is disabled and I can go into gmail and it show 'no connection' and i hit refresh and it wont get email, then open the browser and it tells me I'm not connected, then the software thinks the wi-fi is off.
The problem is that the wi-fi isn't off as far as the OS is concerned. It is still draining power and Background data/ Sync are still able to connect (and/or override your settings). This shouldn't be the case. The wi-fi setting should superseed all other settings. If i set the wi-fi to off, it should be off for everything and not be draining power. To me this means that the disable wi-fi setting doesn't actually disable the wi-fi, it just locks out software from using it... which is *not* disabling it.
Same issue here, have to get a widget to turn of the wifi. How can they oversee such simple things?
Also sometimes the power button just randomly lights up when its in sleep mode, it's a small light but very anoying if it's dark in the room (e.a on your bed stand).
Okay - Good to hear it's not just me then. But not so good in general.
If you're reading this thread, try it out. Set the wi-fi to disabled when the screen is off then email yourself from another computer and wait for the notification on your tablet. Or get a friend to email you a minute or so after you've turned your screen off (with wi-fi disabled on screen off)
You can reset the policy after.
If you get the notification then your wifi didn't disable while the screen is off like the setting is supposed to do.
mine is NOT giving me issues, but I have found that it can take up to 10 minutes for the wifi to go off. I just used ping to test it. In some cases it took a while but did turn off. My battery doesn't really go down at all when in standby with wifi off when screen off.
sgdossey said:
mine is NOT giving me issues, but I have found that it can take up to 10 minutes for the wifi to go off.
Click to expand...
Click to collapse
Updated OP
gammaRascal said:
I've set the wi-fi to disable itself when the screen goes off but unless I disable sync and background data, the wi-fi still stays on when the screen is off and I can hear my email/IM notifications still.
Anyone else have this issue?
I mean, I think it's an issue. If you set the policy to disable wi-fi when the screen is off in the OS it should override any apps - I shouldn't THEN have to go and disable sync and background data as well otherwise whats the point?
UPDATE | May 05
An update. I can confirm that the wi-fi will never turn off for me. I have toggled it off and put it in airplane mode and I will still get email notifications.
Under battery power it even still shows wi-fi as taking 4% even though by all settings it is off.
The gmail application shows 'no connection'. If i refresh it, nothing happens. If i turn the screen off, eventually it will sync/connect and I will get email - even though I also have the wi-fi set to off when when the screen is off.
So to sum-up - wi-fi never turns off. Ever.
You can help by testing!
Disable wi-fi
Set the policy for wi-fi to disable when screen is off
Go to home screen
Turn off the screen
From another location, send yourself an email
Wait for notification on your tablet or wait for about 5 minutes
Turn on your tablet, email should be waiting for you.
UPDATE | 12:15pm
On the phone with acer support and they confirmed this is the case. They started to explain about Background data and Sync and I stopped them right there. This isn't a settings issue, this is an OS/Hardware issue.
Going to the next tier.
UPDATE | 12:30pm
Everything is confirmed with tier 2 and for what it's worth, it'll be pushed further down the chain and looked into.
I had to clarify with them that the issue was with the OS/Hardware and it's not software. If the wi-fi is disabled and I can go into gmail and it show 'no connection' and i hit refresh and it wont get email, then open the browser and it tells me I'm not connected, then the software thinks the wi-fi is off.
The problem is that the wi-fi isn't off as far as the OS is concerned. It is still draining power and Background data/ Sync are still able to connect. This shouldn't be the case. The wi-fi setting should superseed all other settings. If i set the wi-fi to off, it should be off for everything and not be draining power. To me this means that the disable wi-fi setting doesn't actually disable the wi-fi, it just locks out software from using it... which is *not* disabling it.
Click to expand...
Click to collapse
Hi, I just ran these tests and unfortunately I can't reproduce your results.
When I disable wifi, I don't have any data connection.
As for wifi sleep, I don't know if it's a bug or intentional but it seems to put wifi into an extremely low power mode, but not necessarily disable it or turn it off when using the sleep policy.
As someone mentioned somewhere in this thread, it looks like wifi has some sort of 'cooldown' period until it turns the chip and process off completely.
I have used Wifi sleep and played Pandora and had Pandora play for hours until it finally disconnected.
The problem is that Background Data and Sync ignore the wi-fi policy meaning that the settings to disable wi-fi don't actually disable wi-fi, they just block applications from using wi-fi. The OS can still use it and it still drains power.
That basically means you can never disable wi-fi unless you go in and change multiple settings. The wi-fi policy when the screen is off is useless. Any toggle wi-fi widget you put on the page don't work.
Manually refreshing gmail shows 'no connection' - browser wont connect. But the OS can still get your email and download attachments. Relegating any wi-fi policy to a 'user stop function', not a 'data stop function'.
I have a toggle wi-fi widget on my home screen. I have wi-fi toggled off (also shows as off in settings) I *just* saw the widget flick on for a second, then flick back off. That's the Background data/ sync kicking in right there and that's my whole point.
Another point - if you have disabled wi-fi then turn it back on, it should be looking for the router and getting an IP address. It doesn't do that. When you turn it back on all it does is enable applications to connect. Meaning, when you disable it (via settings>disable wi-fi or disable wi-fi policy) all it does is make the software think you're not connected. It doesn't actually disconnect from the router.
It still shows in your routers wireless list (which it shouldn't if it's disconnected) and ping test will fail because it will refuse any incoming/outgoing requests that aren't from the OS (background data / sync)
If you wait for the background data/sync to connect, you can then ping your tablet and it will work. A security issue as far as I'm concerned.

[Q] Annoying wifi deactivation

Hi,
when I am downloading a large file, my screen turns off after some time when I do nothing. So far so good. But when I resume to my Android I must see that the Wifi-connection was turned off, too - I think because of battery power saving.
But it was turned off during my file download, so I have to download it again and I have to keep my screen not to turn off by tapping on it periodically. That's what is annyoing me.
I recognized that the connection is not deactivated directly after the screen was turned off. It lasts some time (minutes?) then the wifi connection is turned off, too.
Is there a way to prevent the deacitivation of the wifi connection when the screen is turned off?
Thanks for your answers.
Yes,
Goto settings>wireless connections>wifi adjustments
There you should find an option for WiFi selection politics. Just choose not to never disconnect.
Cheers
Hmm, it is already set to "Never disconnect".
I think this setting is only useful when you want to switch automatically between mobile data (GPRS/UTMS) and WiFi.
lowlands said:
Hmm, it is already set to "Never disconnect".
I think this setting is only useful when you want to switch automatically between mobile data (GPRS/UTMS) and WiFi.
Click to expand...
Click to collapse
No. That happens whether you want it or not if you have a wifi access.
Or I have a couple of busted phones at home that totally ignore this setting.
Tell your screen to never shut off, then change back.

Problems with WiFi Connectivity Since the Last Update....

Guys,
I updated my tab a few days ago. Now the market looks different but unfortunately I'm facing another irritating problem which I have no clue how to solve.
Every time that I turn off the tab, and let it be idle for 10 minutes, when I turn it back on, the WiFi icon will show no bars - which translates into no internet connectivity. That happens while the WiFi button is still pressed (green in the pop-up menu). In order for the device to connect to the net I need to turn the WiFi OFF and than ON and it works.
I checked the WiFi sleep configuration and they are set to "never turn it off" I also rebooted the device but with no change.
Please let me know what to do... as this thing sometimes just drives me crazy.
Thanks.
Gingi
imgingi said:
Guys,
I updated my tab a few days ago. Now the market looks different but unfortunately I'm facing another irritating problem which I have no clue how to solve.
Every time that I turn off the tab, and let it be idle for 10 minutes, when I turn it back on, the WiFi icon will show no bars - which translates into no internet connectivity. That happens while the WiFi button is still pressed (green in the pop-up menu). In order for the device to connect to the net I need to turn the WiFi OFF and than ON and it works.
I checked the WiFi sleep configuration and they are set to "never turn it off" I also rebooted the device but with no change.
Please let me know what to do... as this thing sometimes just drives me crazy.
Thanks.
Gingi
Click to expand...
Click to collapse
Flash a custom rom bro. Otherwise you are stuck with Samsung's awesome bugs. If you don't want to flash a custom rom there isn't really much you can do about it considering you're not rooted. What did you update to? KMP???
I did the regular Samsung update -the latest one that was released a couple of says ago. The problem with rooting is losing the coverage I have for insuring the device... which I'm reluctant to do. I'm sure it has a solution somewhere...
Yes I confirm.
This "reconnect" issue is being discussed on many forums with no solutions yet. (except custom ROM)

[Q] Lollipop WiFi issues - takes long time to turn on or not turning on at all

I had CM11 on my Nexus 4 and did a full wipe, then flashed the official Lollipop image (using flash-all.sh script). The process went smooth, without any problems.
Now, I am having WiFi issues. When I turn on WiFi from quick settings it changes the icon, but doesn't connect to the network yet. If I try to access WiFi settings it opens them up, but I can see only the actionbar and a blank white screen. No networks shown. Sometimes I even get "The app is not responding dialog". It sits like this for about 30-60 seconds and after that it connects to the network and I am able to access WiFi settings.
Sometimes I can't turn WiFi on at all. Quick settings don't change the WiFi icon to the ON state. If I try to turn it on from the Settings, the switch does literally nothing - not even "Turning WiFi on..." shows up.
I tried to reflash the system - still get these issues. Tried reflashing just the radio module - didn't fix it. No idea what to do. KitKat worked just fine.
Does anyone else have similar problems?
Same issues, but on a Nexus 10.
I have exactly the same issues as you, but on a Nexus 10. Running LRX21P 5.0 Lollipop.
+1
I used Wugfresh 1.9.6
Downloaded and installed LRX21T
Did a complete wipe (cache and factory reset)
Did a selective restore of ~75 apps from Google backup
Played with the machine for hours.
Rebooted, now got no wifi
Anyone suggest a workaround?
EDIT: I came across this post in the Nexus 5 Thread , where he suggests changing your router's channel to something below 12. I changed mine from 13 to 8 and now wifi seems to be working.
EDIT2: Sadly the above was a red herring. The problem seems more complex. Hopefully Google will release a fix soon
fangthorn said:
+1
I used Wugfresh 1.9.6
Downloaded and installed LRX21T
Did a complete wipe (cache and factory reset)
Did a selective restore of ~75 apps from Google backup
Played with the machine for hours.
Rebooted, now got no wifi
Anyone suggest a workaround?
EDIT: I came across this post in the Nexus 5 Thread , where he suggests changing your router's channel to something below 12. I changed mine from 13 to 8 and now wifi seems to be working.
Click to expand...
Click to collapse
I don't think my problem depends on the available WiFi networks. But thanks for the response.
I have the exact same issues, Wifi doesn't turn on at all. It doesn't matter if I press the quick settings button or the button in the menu. It says Wifi on, but nothing happens. After the screen goes dark, Wifi turned itself off again.
Any suggestions? Thank you!
the.best77 said:
I have the exact same issues, Wifi doesn't turn on at all. It doesn't matter if I press the quick settings button or the button in the menu. It says Wifi on, but nothing happens. After the screen goes dark, Wifi turned itself off again.
Any suggestions? Thank you!
Click to expand...
Click to collapse
I'm having the exact same issue. Wiped with ADB and flashed LRX21T factory image from Google's website. No error codes during flash.
Wifi is great - if you leave it on all the time. As soon as it turns off, it will NOT turn on. I get no error message, no timeout like it usually does when Wifi isn't working properly, no crash report. Nothing. Just a stalled Wifi acting like it's turning on. If I exit Wifi settings page, and come back, it shows as being off. Turn it on, and it just hangs the same way.
So frustrating.
It's for sure not the network I'm on, as it also doesn't turn on when I'm not near Wifi, or when I'm at a friend's house. Rebooting the phones makes the Wifi work again...until it turns off for ANY reason. Then we're back at square 1.
I'm having this same issue...
My WiFi seems to turn itself off. Then there is no way I can get it to turn back on unless I reboot the phone.
Very frustrating.
I have the same issue.I sideloaded the OTA and everything went great,no errors during the installation.I was on stock 4.4.4.
When I turn on the Wifi it takes around 30 sec to connect to a network.If i click on the Wifi menu in the setting it usually freezes or I get a black screen.After that Wifi works fine,but another thing I noticed it doesn't remember new networks.I don't know if a factory reset would help...
Anyone find a solution yet? Did a factory reset eliminate the problem for somebody?
I got the same thing. Currently, I'm using Power Toggles to do the on/off setting.
NathanGong said:
I got the same thing. Currently, I'm using Power Toggles to do the on/off setting.
Click to expand...
Click to collapse
Are you saying that Power Toggles fix the problem?
I'm facing a different issue. Whether I have WiFi on or off, it always appears active in the battery usage stats ('scanning always available' is off)
WiFi was off when the screen was off from about 3 am to 2 pm.
Sent from my Nexus 4
I am having the same issue. very frustrating. it was working perfectly last night on my home network, but now it wont connect to my work network. it has the same issues as everyone else. the wifi toggle will turn on, but it will not show any networks. then after a couple of seconds it will turn itself off.
^^i am having that issue as well. the battery usage stat page is showing wifi as on even though it is off.
Have the same issue. After some standby time, turning Wifi on again, it showed me networks where I am not close to anymore and didn't show me the actual networks where I am right now. This seems to be a serious bug that needs fixing. I don't want to reboot my phone to fix it. Didn't Google delayed the Lollipop-Update because of some Wifi issues?
I have all the symptoms listed in this thread. I filed a bug report too: https://code.google.com/p/android/issues/detail?id=80028&q=LRX21T
Found this thread when this problem popped up for me after flashing the factory images one by one. Might try to find a source-built ROM using a later version to see if it got fixed.
quarara said:
I have all the symptoms listed in this thread. I filed a bug report too: https://code.google.com/p/android/issues/detail?id=80028&q=LRX21T
Click to expand...
Click to collapse
Thanks for making the bug report. I've added some details to it.
Ibrahim.Rahman said:
I'm facing a different issue. Whether I have WiFi on or off, it always appears active in the battery usage stats ('scanning always available' is off)
WiFi was off when the screen was off from about 3 am to 2 pm.
Sent from my Nexus 4
Click to expand...
Click to collapse
I have this problem too, in battery status wifi always show on even I turn on or off. It not happen with Kitkat.
anezarati said:
^^i am having that issue as well. the battery usage stat page is showing wifi as on even though it is off.
Click to expand...
Click to collapse
dinhvandinhtu said:
I have this problem too, in battery status wifi always show on even I turn on or off. It not happen with Kitkat.
Click to expand...
Click to collapse
Nice to know I'm not alone in this. Hope it gets fixed soon
Sent from my Nexus 4

WiFi turning on by itself

Hi,
My H990DS has been bothering me for a couple of days as WiFi turns itself on without any kind of intervention.
Turning it off manually or having the phone restart does not help. I made sure the latest apps installed make no impact.
Playing with Developer Options made no difference.
I am ready to Factory Data reset.
Anyone experienced something similar ?
Thanks,
My 918 always shows wifi active in GSAM's graph, even when set to "Never" under the "Wifi on while inactive" option in system settings. I ended up just downloading Leandroid from the play store and setting it to disable the wifi radio, and renable it periodically to check for push messages. Seems to work fine with doze and standby time has improved.
Under settings, location, three dots top right, scanning, turn wifi scanning off. It turns back on anytime you use wifi and you manually have to turn it back off each time.
Mine (918) does this all the time. Im thinking its a 7.0 thing. There has been a few exceptions where it has stayed off. In my case I drive through a busy section in town and it constantly connects to the 20 or so open wifi spots so I turn it off. Well once I pull into the garage at home its magically back on.
Maybe something to do with networks it recognizes, Xfinity wifi wreaks havoc on it as well.
As soon as I uninstalled the latest apps, the issue disappeared. Not a single exception in 24 hours.
I suspect a Sip Client had caused the problem.
Gytole said:
Under settings, location, three dots top right, scanning, turn wifi scanning off. It turns back on anytime you use wifi and you manually have to turn it back off each time.
Click to expand...
Click to collapse
What!?
That sounds utterly horific for the battery, nevermind privacy concerns. I thankfully haven't experienced anything similar myself, but I've only ever used custom ROMs so perhaps that's the cause. But that sounds terrible.

Categories

Resources