Auto Turn Off Mobile Data When Connected to WiFi - Nexus 6 Q&A, Help & Troubleshooting

Does anyone know of an app that will automatically turn off mobile data when i'm successfully connected to a WiFi connection have have internet access through it.
The app should do something like this...
1. Check for WiFi connection
2. If WiFi = connected, then test WiFi connection
3. If connection = Good, then turn off Mobile Data, else leave Data connection ON
If you suggest Tasker, then you better follow it up with a full write-up on how to set it up on Tasker.

I believe (someone will correct me if I'm wrong) that Android is programmed to use wifi when it's available, even though your data connection looks as if it's on.
If you're not happy with that, Automate It should be able to do something for you. I have Automate It Pro set to turn off wifi & data at midnight, for example, to avoid the nuisance of emails pinging me in the middle of the night. And it switches wifi & sync on at 09:00 each day. Very useful tool, simpler than Tasker, so no tutorial from me...
There are a few Automate apps in the Play Store - it's this one:
https://play.google.com/store/apps/details?id=AutomateIt.mainPackage
This free version allows you 3 (as I recall) triggers - if you need more it's not too expensive to buy Pro.

I use RadioControl to handle that for me.
https://play.google.com/store/apps/details?id=com.nikhilparanjape.radiocontrol&hl=en
It requires root, and it's not perfect. But it works well enough for me.
[NG]Owner

Try smart radio xposed module.

pr0ndigy said:
Does anyone know of an app that will automatically turn off mobile data when i'm successfully connected to a WiFi connection have have internet access through it.
The app should do something like this...
1. Check for WiFi connection
2. If WiFi = connected, then test WiFi connection
3. If connection = Good, then turn off Mobile Data, else leave Data connection ON
If you suggest Tasker, then you better follow it up with a full write-up on how to set it up on Tasker.
Click to expand...
Click to collapse
Tasker does it pretty simply, but it needs root access..
Set up (2) tasks - I called mine Data Off & Data On. You will need to select "Net/Mobile Data" and then set "On" or "Off" respectively. Next set up your profile. Select "State/Net/Wifi Connected", and leave everything empty and save. This will trigger the profile when any wifi is connected. (Optionally, you could set it to your home or work wifi, etc). Your "task" will be "Data Off", then add an "exit task" for "Data On" (by long pressing the Data On and selecting "exit task").

dahawthorne said:
I believe (someone will correct me if I'm wrong) that Android is programmed to use wifi when it's available, even though your data connection looks as if it's on.
Click to expand...
Click to collapse
^^^^ This. Android has done this for years. Some devices have the ability to keep mobile data on with wifi, but those usually default to OFF.
Note in the screenshot below that my Cellular network state (mobile data) is "Disconnected"

Pkt_Lnt said:
^^^^ This. Android has done this for years. Some devices have the ability to keep mobile data on with wifi, but those usually default to OFF.
Note in the screenshot below that my Cellular network state (mobile data) is "Disconnected"
Click to expand...
Click to collapse
Interestingly, I bring up the same screen on my phone (when connected to wifi) and it shows cellular is still connected??

jbaumert said:
Interestingly, I bring up the same screen on my phone (when connected to wifi) and it shows cellular is still connected??
Click to expand...
Click to collapse
Do you have a ROM that has that option and it is enabled?

Pkt_Lnt said:
Do you have a ROM that has that option and it is enabled?
Click to expand...
Click to collapse
Running SIX ROM - Just checked, that option is disabled in the Dev Settings / connected to good wifi / and cellular is active...

¯\_(ツ)_/¯
Now it is a question for that rom dev.

Related

Data and WIFI...

Hi guys, I was wondering if anyone knows if when I connect to the internet using a WIFI connection (whether its one I own or a public one)...does that count as "data usage" on my bill?
The reason I ask is because I'm on tmobile and a most of you probably already know, they lowered the cap to 5gbs of data a month and after you go past that limit you'll still have data connection but it'll be super slow (most likely EDGE speeds) until your new billing cycle begins. I'm currently at 4.8gbs already (watching youtube videos, using the internet, xda, etc) so I want to know if I can use an open WIFI connection without worrying about going past 5gbs.
Thanks.
no it wont count as data usage.
britoso said:
no it wont count as data usage.
Click to expand...
Click to collapse
Thank you britoso
make sure you go to Wifi advance settings and select "Wifi sleep policy" accordingly (I suggest to put it on "Never")
If you don't do so, Android will turn off Wifi and switch to mobile data when your screen is off or not plugged in.
houzuoguo said:
make sure you go to Wifi advance settings and select "Wifi sleep policy" accordingly (I suggest to put it on "Never")
If you don't do so, Android will turn off Wifi and switch to mobile data when your screen is off or not plugged in.
Click to expand...
Click to collapse
Thank you, I'll make sure I do that then.
note that the wifi sleep policy will only work if you are running FRG83 (2.2.1) unless you are VERY lucky to not experience the bug on 2.2
edit: nvm just saw you're running CM 6.1 ^^
mobile data
also if you really want to not use any of your mobile data you can go to settings>wireless and networks>mobile network settings and turn off data, then you will only use data over wifi and won't use any more data
Use app 3G Watchdog to monitor & manage your 3G data.
galaxys said:
Use app 3G Watchdog to monitor & manage your 3G data.
Click to expand...
Click to collapse
Thank you so much, i wasn't aware of an app like this. But it'll be so useful to me.

Add Task with Tasker?

I created my 1st Profile(I guess that what it is) last night that I Called Home. I set my location then add a Task to Turn my WiFi On and then Off as needed. How would I now add a New Task to the "Home" where I Turn Off and On my Data package?
Thanks
Just install "Wifi Static" free app from market and it switches wifi and or data network by itself depending on the proximity to the saved wireless network at home or work or starbucks. Try it out, it is preety good.
RonH54 said:
I created my 1st Profile(I guess that what it is) last night that I Called Home. I set my location then add a Task to Turn my WiFi On and then Off as needed. How would I now add a New Task to the "Home" where I Turn Off and On my Data package?
Thanks
Click to expand...
Click to collapse
There is no need to turn off and on your data package. Once you are connected via wifi, android OS automatically disables the 3G data. Then when wifi connection is lost, 3G data is enabled back again. No extra app such as wifi static needed.
I could be wrong, but I am pretty sure this is how android works. You can even notice the little "3G" icon disappearing when you connect via wifi.

Mobile Data Auto Off

Could not find an app where once Wifi is connected, Mobile Data is disable and enable when there is no Wifi connection.
Hope someone can help, thank you.
peanuts3 said:
Could not find an app where once Wifi is connected, Mobile Data is disable and enable when there is no Wifi connection.
Hope someone can help, thank you.
Click to expand...
Click to collapse
when the wifi is connected mobile data automatically turns off you dont need a app :/
Thanks are you referring to the Auto Network Switch under the Wifi setting?
When I set to Yes it gave a warning that it may auto switch to Mobile Data.
Suspect that if Wifi is not strong but still connected, it may switch to Mobile Data to get better connection which I do not want.
Pakman123 said:
when the wifi is connected mobile data automatically turns off you dont need a app :/
Click to expand...
Click to collapse
peanuts3 said:
Suspect that if Wifi is not strong but still connected, it may switch to Mobile Data to get better connection which I do not want.
Click to expand...
Click to collapse
I'm in the complete opposite camp, how I wish there's an option for the phone to automatically switch to mobile data when the wifi becomes practically unusable.
There's a wifi deadspot in my house where I often use the phone, and contrary to what you suspect, my observations indicate that as long as there's a wifi connection, no matter how weak the signal, the phone will try its best to send and receive packets over wifi.
I usually have to manually switch off wifi.
Thanks for your feedback.
I will monitor whether the outcome is similar like yours.
I will turn ON both the Mobile Data and Wifi and using the Wifi preference setting.
If it works as you have stated, I will be very happy.
My priority is saving the cost from Mobile Data which is expensive to me.
I would like to control all downloads/updates of apps through Wifi.
Will use Mobile Data only when Wifi is not available/connected.
mhaha said:
I'm in the complete opposite camp, how I wish there's an option for the phone to automatically switch to mobile data when the wifi becomes practically unusable.
There's a wifi deadspot in my house where I often use the phone, and contrary to what you suspect, my observations indicate that as long as there's a wifi connection, no matter how weak the signal, the phone will try its best to send and receive packets over wifi.
I usually have to manually switch off wifi.
Click to expand...
Click to collapse
There is an option in developer settings to keep mobile data active even when Wi-Fi is connected. That may help with your Wi-Fi dead zone.
I think this option works for one device only.
I would rather recommend deploying a repeater for the Wifi signal, which will serves all devices at the dead spot.
A simple repeater should cost about USD10/
carto-man said:
There is an option in developer settings to keep mobile data active even when Wi-Fi is connected. That may help with your Wi-Fi dead zone.
Click to expand...
Click to collapse
Thanks Pakman123 and mhaha, for sharing your experience.
So far testing as recommended works according to your views.
For mhaha, I believe a wifi signal repeater set up will resolve your concern.
peanuts3 said:
Thanks for your feedback.
I will monitor whether the outcome is similar like yours.
I will turn ON both the Mobile Data and Wifi and using the Wifi preference setting.
If it works as you have stated, I will be very happy.
My priority is saving the cost from Mobile Data which is expensive to me.
I would like to control all downloads/updates of apps through Wifi.
Will use Mobile Data only when Wifi is not available/connected.
Click to expand...
Click to collapse
You can look at which apps are thirsty data eaters in settings under mobile data usage. Then click on the hungry app, untick background data.
Turning off background data will keep the apps restricted to WiFi slurping.
Thanks for looking up.
Appreciate your good suggestion.
Didgesteve said:
You can look at which apps are thirsty data eaters in settings under mobile data usage. Then click on the hungry app, untick background data.
Turning off background data will keep the apps restricted to WiFi slurping.
Click to expand...
Click to collapse

Mobile data issues on AOD

Hi,
I got an problem. Everytime when i use the mobile data and I am in the browser, everything is fine - internet connection is working, but when I have the mobile data on, and the screen is disabled (only aod) the connection to internet is interrupted and I have no acces to the internet. The intelligent mobile transfer is off, but still when the phone is on allways on display, after few minutes the connection is "off", even if the mobile data is on. I checked the connection signal, and everything is fine. Is there an system app that might be killing the internet connection? It's my first time with Huawei.
Best regards
Frejkju said:
Hi,
I got an problem. Everytime when i use the mobile data and I am in the browser, everything is fine - internet connection is working, but when I have the mobile data on, and the screen is disabled (only aod) the connection to internet is interrupted and I have no acces to the internet. The intelligent mobile transfer is off, but still when the phone is on allways on display, after few minutes the connection is "off", even if the mobile data is on. I checked the connection signal, and everything is fine. Is there an system app that might be killing the internet connection? It's my first time with Huawei.
Best regards
Click to expand...
Click to collapse
Maybe your smart data saver is on. Search for it in the settings.
JJay666 said:
Maybe your smart data saver is on. Search for it in the settings.
Click to expand...
Click to collapse
No, I disabled it and still have the issue.
Frejkju said:
No, I disabled it and still have the issue.
Click to expand...
Click to collapse
Then in app launch, have you restricted google play services ? make sure that auto launch - secondary launch - run in background is all turned on
Also make sure data saver is off, reboot and then try again.
Lastly, under More Battery Settings - make sure Stay connected when device sleeps is Turned On
Okay I changed the app launch for Google Play Services to manual and will see if it will work. @JJay666 thanks for the help.
Frejkju said:
Okay I changed the app launch for Google Play Services to manual and will see if it will work. @JJay666 thanks for the help.
Click to expand...
Click to collapse
No problem, remember to check this :
More Battery Settings - make sure Stay connected when device sleeps is Turned On

Question Data connection is active even when on WiFi

Hi all,
I'm noticing that the data connection seems to be active even when on WiFi. Is there any option that I need to disable so that the phone runs entirely on WiFi. I looked in the developer options and keep data alive option is unchecked. Am I missing something?
amirage said:
Hi all,
I'm noticing that the data connection seems to be active even when on WiFi. Is there any option that I need to disable so that the phone runs entirely on WiFi. I looked in the developer options and keep data alive option is unchecked. Am I missing something?
Click to expand...
Click to collapse
Hi, just go into Wi-Fi Settings / Advanced and switch off tab (Switch to mobile data)
That's all.
Hi. Thanks for this but this option was never enabled in the first place. Anyways, it's self corrected now...aah..the wonders of the tech world
amirage said:
Hi. Thanks for this but this option was never enabled in the first place. Anyways, it's self corrected now...aah..the wonders of the tech world
Click to expand...
Click to collapse
It's enabled by default just to keep your internet connection stable when wi-fi has an issues.
amirage said:
Hi. Thanks for this but this option was never enabled in the first place. Anyways, it's self corrected now...aah..the wonders of the tech world
Click to expand...
Click to collapse
It will re-appear occasionally. Even if you turn off the "Switch to Mobile Data" setting, the mobile data icons and wifi icons will appear concurrently on the status bar. This happens even when the wifi connection is solid. Usually the mobile data icon disappears after a few seconds or minutes on its own. I'm not sure if its by design (for MMS or RCS or something else) or if it's a bug. But you're not the only one seeing this. My colleague has an S21U too and he shared a similar experience.
e.kabashi95 said:
It's enabled by default just to keep your internet connection stable when wi-fi has an issues.
Click to expand...
Click to collapse
I'm suffering from the opposite problem!
I *WANT* to keep mobile data enabled while connected to Wi-Fi, but the setting on my phone has no effect! When I turn on the setting, my phone will still ignore mobile data.
I verify this by connecting to my dashcam via Wi-Fi. The dashcam does not provide any internet via Wi-Fi, but merely allows my phone to view the dashcam output and stored files. But once I connect my phone to the dashcam, then my phone has no connection to the internet. I can't force it to use the mobile data at that point. The phone is not behaving as it should. My older phone, LG G6, is able to successfully connect to the dashcam and still access the data through the cell signal.
The S21 Ultra simply cannot achieve this. I have the T-mobile variant, in the US.
I believe this is a bug. Can you get this setting to actually work? Like maybe test it by connecting your phone to your Wi-Fi router but disconnect the modem from the Wi-Fi router?
I'll post a separate thread for this, because I think it's a bug and maybe others are suffering from it without realizing.

Categories

Resources