WiFi sleeping with modern routers when the screen is turned off - OnePlus 5 Questions & Answers

Does anyone know how to prevent this from happening? I updated my router with modern WMM and such. Now when I'm connected to my home wifi my phone decides to sleep the wifi when I turn off my screen.
This prevents whatsapp web working as intended. Also when downloading files and turning screen off the downloads just stop due to the lack of internet connection. I know it polls the wifi every minute or so, but it is not optimal behaviour in any way.
Mostly it's annoying when using web interfaces with apps, i.e. whatsapp web. I want my messages to be sent immediately (like before with my old router) and not when my phone decides that now it might be a good time to check if anything needs internet. This also delays receiving of messages of any messaging services that uses internet.
I have given whatsapp limitless data and excluded it from battery saving. So that does not help.

Related

Data connection, no auto-disconnect?

Hi guys,
I have recently moved from symbian platform to WinMo. I do have a question regarding data connection. Does it ever auto disconnects? (for example in my old N95 if I clicked sync in my mail application, the phone would connect, download new mail and then auto disconnect when the job was done)
Also the phone would disconnect from data connection after closing app that was using it.
Now with my HD2 when I sync email, refresh weather etc the data connection stays on. Do I have to disconnect it manualy every single time so it doesnt drain my battery? It is very annoying since I have to do it manually very often.
Please advise... maybe I am missing something...
Cheers
Pete
Hi,
There's a few threads on here on data connection disconnection. There is also a hints & tips thread right at the top of this page.
Use this tool to find what you are looking for..http://www.google.com/advanced_search?q=+site:http://forum.xda-developers.com&hl=en&lr=&as_qdr=all
WB
install the 1 min disconnect tweak thats on this forum.
if you only set emails to check automatically it will disconnect ok using the above tweak but if you have weather and/or twitter apps connecting to update for some reason it will not close the connection at all i have told htc but never heard back
The only real reason for disconnecting a data connection is if you want to prevent unwanted costs associated with data exchange.
If you're in a weak signal area you can save battery by switching the connection band to GSM rather than 3G, but in a strong signal, 3G is more power efficient.
An open, but quiescent data connection has little or no effect on battery life as it's simply using the network infrastructure; battery usage only occurs during actual data exchange. So, if you turn off all the auto-update features and set email polling to a longer interval you should be OK. Kind of defeats the purpose of the device though
NeilM said:
The only real reason for disconnecting a data connection is if you want to prevent unwanted costs associated with data exchange.
If you're in a weak signal area you can save battery by switching the connection band to GSM rather than 3G, but in a strong signal, 3G is more power efficient.
An open, but quiescent data connection has little or no effect on battery life as it's simply using the network infrastructure; battery usage only occurs during actual data exchange. So, if you turn off all the auto-update features and set email polling to a longer interval you should be OK. Kind of defeats the purpose of the device though
Click to expand...
Click to collapse
From my experience all Symbian devices and the iPhone auto disconnect from the network once the data connection is no longer needed. They also reconnect in the blink of an eye. It kind of irritates me that Windows Mobile doesn't allow you at least the OPTION of doing so. It's particularly annoying if you're connected to a speaker and can't get 3g as there's a constant noise going off. I also think it can't be great for your balls having that connection constantly active! It's not HTC's fault though, just I think a result of Windows Mobile being inherently quite archaic...perhaps Windows have just overlooked it.
There's a great free app HERE to tweak the WinMo connections for individual apps. It's a must have for me.
petexx said:
Hi guys,
I have recently moved from symbian platform to WinMo. I do have a question regarding data connection. Does it ever auto disconnects? (for example in my old N95 if I clicked sync in my mail application, the phone would connect, download new mail and then auto disconnect when the job was done)
Also the phone would disconnect from data connection after closing app that was using it.
Now with my HD2 when I sync email, refresh weather etc the data connection stays on. Do I have to disconnect it manualy every single time so it doesnt drain my battery? It is very annoying since I have to do it manually very often.
Please advise... maybe I am missing something...
Cheers
Pete
Click to expand...
Click to collapse
This really isn't a problem, I've seen N95's that retain their connection at all time (and some that don't) and to be honest it just makes your handset a little quicker.
WMLongLife is the nuts. You need it.
Thanks for the link, I pay per minute on my connection (rather than data transferred) so an open connection is not good for my bank balance

Android -> Auto manage Wifi vs. carrier network?

I was reading an article about how the iPhone will automatically connect to WiFi instead of using the carrier network, when WiFi is available. As well, it manages the WiFi on the phone in a manner which minimizes battery usage.
Anyone know if any of the Android Phones do this?
Related to that, even if it doesn't automatically do that: If we are in a free WiFi spot that we know about and turn on WiFi, will the Android phone use the WiFi as prioritiy over the carrier network, thereby negating need to turn off access to the carrier network?
ewingr said:
I was reading an article about how the iPhone will automatically connect to WiFi instead of using the carrier network, when WiFi is available. As well, it manages the WiFi on the phone in a manner which minimizes battery usage.
Anyone know if any of the Android Phones do this?
Related to that, even if it doesn't automatically do that: If we are in a free WiFi spot that we know about and turn on WiFi, will the Android phone use the WiFi as prioritiy over the carrier network, thereby negating need to turn off access to the carrier network?
Click to expand...
Click to collapse
If you have 3g open, and you enter a wifi area, there are apps you can download which will immediately connect to that wifi spot without you opening Wifi, but those apps drain the battery and will connect at any wifi that you have previously used, thus becoming annoying. I tried it last year on my Android device.
It is much better to simply activate wifi alone, then it will connect to that free wifi spot alone IF you have previously connected to it.
I'll give two examples: At home when I connect my Android device to my wireless router for the first time, it will ask me for password. Then it saves it, so that if I close wifi, it will open 3g alone, but then if I re-open WIFI on my device, it will connect automatically as it saves the password of all wifi spots you have, and it shows you also the list of all saved spots.
The same thing goes for open free wifi spots, first time you connect to it normally without a password, second time it will re-connect alone as long as you have Wifi opened on your Android Device. I wouldn't have my cell to connect to any wifi alone without me opening wifi as it drains battery a lot.
As soon as you open Wifi, and there's an open wifi place or a private one (provided you have entered the password before), your cell will automatically connect to it and will no longer use carrier network until you shut off WIFI.
Thanks for the detailed reply. Much appreciated.
Actually, pretty much what I expected to hear.

University wifi stops text messages

I'm having a problem. My university wifi often requires me to use a browser before I can actually use the internet. The problem is that my email and text messages rely on the internet.
Is there any way to shut down wifi after some minutes if there is no internet connection? I really like my battery life when wifi is on, as opposed to always having 3g on.
Why would text messages rely on Wifi? (assuming you are using SMS through provider). You can turn 3G off and then use the notification power controls to turn wifi off quickly.
Gigamaster89 said:
Why would text messages rely on Wifi? (assuming you are using SMS through provider). You can turn 3G off and then use the notification power controls to turn wifi off quickly.
Click to expand...
Click to collapse
Well when wifi is on it shuts off 3g and android uses data connection to get emails and MMS. Regular text dont use the data connection I guess. I have noticed I cannot recieve MMS when im on wifi as well. Any wifi
oldarney said:
I'm having a problem. My university wifi often requires me to use a browser before I can actually use the internet. The problem is that my email and text messages rely on the internet.
Is there any way to shut down wifi after some minutes if there is no internet connection? I really like my battery life when wifi is on, as opposed to always having 3g on.
Click to expand...
Click to collapse
Not sure about that option, but you sure can shut down Wifi, when the phone goes into stand by.
Settings >> Wireless & Network >> Wifi Settings >> Click on Menu & select Advanced >> Wifi Sleep Policy. Select when Screen turns off.
I would also mention, any type of wifi setup that requires you to login via the browser will not be a good option. As soon as the phone puts wifi to sleep, you logout, so when it wakes up, wifi might be connected, but that doesn't mean you get past the login page. Luckily at my university, there is a special wifi for faculty/staff that doesn't have that page like it does for students/guests.
I use Google voice for everything so my text messages rely on the internet. Disconecting wifi during sleep would solve my problem, but now I'm relying Solely on wifi since I switched to the Samsung tab data only plan, which oddly enough doesn't work on android phones.
Sent from my SGH-T959 using XDA App

WiFi/Data settings for student on campus

Hey guys, feel free to move this to the proper forum if this isn't the right place.
I'm new to Android (WebOS convert. Consider myself tech savvy, just haven't spent any time with Android before now) Since I live on campus, I am almost always on a WiFi connection. However, I use google voice for texts/calls/voicemails and I need a data connection to receive push notifications. The WiFi times out after 15 minutes and if JuiceDefender has disabled both the data and the wifi then I won't get any notifications.
Is there some sort of combination of Tasker and/or JuiceDefender combinations where:
when my WiFi connection times out (while the phone is asleep in my pocket) have the data connection turn back on. Then turn the data connection off when it reconnects to WiFi. *There are 3 different wifi connections that will need to be remembered.
when I turn the WiFi off (via widget) the data connection will always be on.
Obviously I just want to maximize my battery life here. Thanks a lot guys.

[Q] Force an app to use Data, even if WiFi connected?

I have a 6P running stock 8.1 January update, rooted with Magisk 16.
I connect to a restrictive WiFi network at work, which blocks things like Snapchat, Instagram, and others. I have 6GB of data per month, which I rarely reach over 2GB of because I'm almost always in a WiFi zone.
I tried using AFWall+ and Tasker to turn off/on the firewall based on the SSID of the WiFi network connected too (so that it would only activate when connected to my work WiFi and not my home network), however it refused to work with the app.
I eliminated the Tasker bit for troubleshooting reasons, but the Instagram app "couldn't refresh feed", because it's blocked, even though I whitelisted every app except for it.
I tried switching to blacklist mode within AFWall, so that it would only block WiFi connections, applied the settings, however still, it always tried to use the WiFi, which was blocking it.
Can anyone help with this please? I don't actually use Snapchat or Facebook or anything.. I just want Instagram to not use WiFi when connected to a specific SSID.
Thread closed as per OP's request

Categories

Resources