Auto switch off/on data-3g/wifi - Nexus 4 Q&A, Help & Troubleshooting

I'm looking for app, which can turn off data, when connection to know wifi spot is made and from the other side, when there is no known wifi spots, turn data /3g back on.
I know, that if both wifi and data is on, phone use wifi, if there is known spot, but don't phisicaly turn off data connection automaticly.
I tried SmartConnectivity, Smart Wifi toggler, but it's not working, as I want.

Try "Tasker"
Sent from my Nexus 4 using Tapatalk 2

scream4cheese said:
Try "Tasker"
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Jap, tried. But I don't know, how to make task for that kind of function...:/

https://play.google.com/store/apps/details?id=org.cprados.wificellmanager
good app. doesn't use location services but instead remembers cell towers (like y5 which doesnt work anymore with 4.2+) so good on battery.

akulp said:
I'm looking for app, which can turn off data, when connection to know wifi spot is made and from the other side, when there is no known wifi spots, turn data /3g back on.
I know, that if both wifi and data is on, phone use wifi, if there is known spot, but don't phisicaly turn off data connection automaticly.
I tried SmartConnectivity, Smart Wifi toggler, but it's not working, as I want.
Click to expand...
Click to collapse
Qualcomm's battery guru does this there's a learning period but after that it should perform in the manner you're describing
Sent from my Nexus 4 using xda premium

maybe in a few years that app will get somewhere. as it is, google location based wifi switchers aren't a good idea, unless you're using location services 24/7 anyway (latitude, gnow, etc).
I use wi-fi matic + macrodroid. When I come home, wi-fi matic detects the cell tower I'm connected to and switched on wifi. Once connected, macrodroid switches airplane mode on, and sipdroid connects to my sip provider. Once I leave and lose the wifi connection, macrodroid disables airplane mode. Then wi-fi matic sees that I left my area and switches off wifi. Totally automated

agreed... I don't use it myself(I'm a self-switcher) but I did install when it first came out and found it behaves like the op desires
Sent from my Nexus 4 using xda premium

Mobile data is automatically switched off when WiFi is connected.
No need to disable it manually.
Sent from my Nexus 7 using xda premium

El Daddy said:
Mobile data is automatically switched off when WiFi is connected.
No need to disable it manually.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
That's not true. If U look in Settings-Data usage Mobile data is still ON. Of coures it's not used, because wifi have prioritiy, but data is ON anyway.
For 2 days I was switch off it data/wifi manually and battery life is better.

ziddey said:
maybe in a few years that app will get somewhere. as it is, google location based wifi switchers aren't a good idea, unless you're using location services 24/7 anyway (latitude, gnow, etc).
I use wi-fi matic + macrodroid. When I come home, wi-fi matic detects the cell tower I'm connected to and switched on wifi. Once connected, macrodroid switches airplane mode on, and sipdroid connects to my sip provider. Once I leave and lose the wifi connection, macrodroid disables airplane mode. Then wi-fi matic sees that I left my area and switches off wifi. Totally automated
Click to expand...
Click to collapse
Great. I think Wi-Fi matic + Auto WiFi/3G switch app should do what I'm looking for.
Thank you!

akulp said:
That's not true. If U look in Settings-Data usage Mobile data is still ON. Of coures it's not used, because wifi have prioritiy, but data is ON anyway.
For 2 days I was switch off it data/wifi manually and battery life is better.
Click to expand...
Click to collapse
No its not on.
Sent from my Nexus 4 using xda premium

akulp said:
I'm looking for app, which can turn off data, when connection to know wifi spot is made and from the other side, when there is no known wifi spots, turn data /3g back on.
I know, that if both wifi and data is on, phone use wifi, if there is known spot, but don't phisicaly turn off data connection automaticly.
I tried SmartConnectivity, Smart Wifi toggler, but it's not working, as I want.
Click to expand...
Click to collapse
Okay here is .prf i just created put it in your tasker folder(auto-import).
It works perfect.
Open tasker and import it.
On any WiFi you connect(you can change that by pressing green arrow and add your know WiFis if you would like) it disables Mobile Data(You cant receive MMS if Mobile data is off) on WiFi you connect and when you lose your connection whit WiFi it disables WiFi and kicks in Mobile Data On so you dont need to worry to disable WiFi it does automatically.
ENJOY!
If it works thank me.
http://goo.gl/AS76Q

El Daddy said:
No its not on.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes, but service is ON, look in Settings-Data Usage: Mobile data=ON And that service is using battery...I'm not the first one, who found that "problem".
But it's not used, that's true.
Anyway, I found a solution with Wi-FI matic and Wifi/3g switch, not it's working like I want.
So thanks for help.

akulp said:
Great. I think Wi-Fi matic + Auto WiFi/3G switch app should do what I'm looking for.
Thank you!
Click to expand...
Click to collapse
Llama (just search the Play store for it, I can't post the link...) seems to be a good single app location aware solution. The first play store review pretty much says it all "More flexible than Atooma, but not brain-melting like Tasker. Just makes using your phone easier, and more helpful."
I've been struggling with Tasker for several days trying to get it to do the same thing (toggle wifi and mobile data settings automatically based on my location). I had Llama set up and working beautifully in maybe an hour and a half, which included the time to read the devs instructions and FAQ (click "View Developer's Website from the Play store).
It uses cell towers to determine your location, so there is no battery hit, or you can optionally enable wifi polling or GPS for more accurate locating. It can also perform actions based on when your wifi changes state (connects or disconnects) regardless of your location. And since it's "Tasker-like" it can perform a lot more than just handling your data connections: adjust volumes or screen brightness, launch/kill apps, even shut off or reboot the phone (only if rooted). For example, mine is set up to remove my lockscreen password when I am home and re-enable it when I leave the area of my home wifi and it was fast and simple to get configured.

Karlo666 said:
Okay here is .prf i just created put it in your tasker folder(auto-import).
It works perfect.
Open tasker and import it.
On any WiFi you connect(you can change that by pressing green arrow and add your know WiFis if you would like) it disables Mobile Data(You cant receive MMS if Mobile data is off) on WiFi you connect and when you lose your connection whit WiFi it disables WiFi and kicks in Mobile Data On so you dont need to worry to disable WiFi it does automatically.
ENJOY!
If it works thank me.
http://goo.gl/AS76Q
Click to expand...
Click to collapse
Wow, great!
I'll try and report...
But I think there is one thing missing what Wi-FI matic do. Wi-FI matic activate WIFI based on cell towers.
With this Tasker script you have to turn on WiFi by yourself, is that correct?
Than script turns off data and turn it back ON, when you lose connection. But than again, when wifi is presented, you have to turn it on by yourself...
I think, this script is doing something similar as this app
https://play.google.com/store/apps/details?id=notus.com.tr.autowifi3gswitch&hl=sl

akulp said:
Wow, great!
I'll try and report...
But I think there is one thing missing what Wi-FI matic do. Wi-FI matic activate WIFI based on cell towers.
With this Tasker script you have to turn on WiFi by yourself, is that correct?
Than script turns off data and turn it back ON, when you lose connection. But than again, when wifi is presented, you have to turn it on by yourself...
I think, this script is doing something similar as this app
https://play.google.com/store/apps/details?id=notus.com.tr.autowifi3gswitch&hl=sl
Click to expand...
Click to collapse
If you want you can add to turn wifi on based on cell towers in tasker and even much more.If you need more help feel free to contact me.

Karlo666 said:
If you want you can add to turn wifi on based on cell towers in tasker and even much more.If you need more help feel free to contact me.
Click to expand...
Click to collapse
Yap I know, tasker is powerfull, but my knlowedge about that is weak...
So If you are so kind, could you please add in previous task (thath one sent to me in your first post) or make a new task for turning on wifi based on cell towers...

Related

3G Mobile Hotspot + Bluetooth : Can you do both?

Im trying to use the 3G hotspot, and GPS2BT to allow my tablet to access maps with data and GPS from my droid X.
But everytime I turn on the hotspot it shuts down BT, and if I re-enable it, the BT turns off 3g hotspot.
Is it possible to use both, if not, why? To much power draw using 3 radios??
You cannot use 3G + WiFi + Bluetooth simultaneously. Something to do with radio and antenna sharing, I believe.
-----
Sent from my Droid X. Powered by Big Red, customized by NATF.
The reason it wont work I believe is a result of verizon's setup. When you turn on the hotspot app, it pulls your data connection and changes your dun settings to allow the wireless adaptor to broadcast a wireless signal. You are no longer receiving data as if you were trying to.access information though an application.
I think natf is right. When you toggle bluetooth, I think it kills any other "radio" connectivity.
Sent from my DROIDX using XDA App
try making a call on a BT headset with wifi enabled, then go to a web page... its ... interesting.
Ah ok - Damn. I was hoping to share my wifi with my android and then use BT to get GPS.
Guess its one or the other.
I dont think i can do BT PAN + any other bt service can you? then i could do both with BT..
Morkai Almandragon said:
try making a call on a BT headset with wifi enabled, then go to a web page... its ... interesting.
Click to expand...
Click to collapse
I was under the impression that you can't call and surf at the same time with Verizon.
silversonic1 said:
I was under the impression that you can't call and surf at the same time with Verizon.
Click to expand...
Click to collapse
You can surf when WiFi is connected. Although I could do both over 1x with my Touch Pro2.

[Q] how to make sure that i am on wifi or 3g

Bro and sis, is there a way to make sure whether i am connected via wifi or 3g? Cuz my 3g dataplan is not unlimited.
Thanks.
Hold the power button down until the device option screen pops up, the same screen that turns it off. You'll see a Data network mode. Select that so that it shows Data network mode deactivated. Now 3g is off for sure.
Sent from my DROIDX using XDA App
you can also use widget or personally go to setting to turn off 3g
but somehow, every time my wifi is on, 3g is automatically off
u wont see the symbol on notification bar anymore
thanks bros, nice method.
I've had issues with wifi randomly dropping. Some times I wont notice and the 3g handles my traffic even though I don't want it to due to only getting the 1gb plan. With fully deactivating the 3g data I know when I drop my wifi and am ensured that I've turned my tab into a wifi only device.
Sent from my SCH-I800 using XDA App
amanchen said:
Bro and sis, is there a way to make sure whether i am connected via wifi or 3g? Cuz my 3g dataplan is not unlimited.
Thanks.
Click to expand...
Click to collapse
The tab uses wifi first when available, and puts the cellular modem to sleep.

Wifi Sleep Policy Problems

Has anyone noticed the wifi sleep policy has no effect on the Nexus 4.
I've set mine to keep wifi on during sleep only when plugged in. However wifi remains on all the time. My wife also has a Nexus 4 and exactly the same thing happens. However my Nexus 7 and Galaxy S3 both disable wifi when sleeping.
I've had this problem on lots of different phones,. in the end i used Juice Defender which sorted it out. My Nexus 4 at the moment is behaving itself. On my Motorola Xoom (AOSP) i did a factory reset which fixed it.
Moved to Q&A
Sent from my Nocturnalized One XL using Forum Runner
Doesn't work on any android phone I've had. Sad truth
Sent from my Nexus 4 using Tapatalk 2
I'm pretty sure it worked on the Galaxy Nexus.
Let's put whether its working or not to the side for a bit.
Why would you want to turn off WiFi during sleep in the first place?
I understand why on a WiFi only tablet. Phone, not so much
Only way it works is when you disable the Location settings - all of them + turn off Google Now.
My Nexus consumes too much battery over night with all its WiFi goings on.
WiFi uses less battery then cellular. If you turn off WiFi it it uses the cellular data connection which uses more battery.
If you turn off WiFi and leave your cellular data on it is counter productive to saving battery.
albundy2010 said:
WiFi uses less battery then cellular. If you turn off WiFi it it uses the cellular data connection which uses more battery.
If you turn off WiFi and leave your cellular data on it is counter productive to saving battery.
Click to expand...
Click to collapse
Can you turn off your cellular data and keep wifi on?
donec said:
Can you turn off your cellular data and keep wifi on?
Click to expand...
Click to collapse
Whenever your device has a wifi connection it uses the cellular connection only for phone calls, nothing else. that's what albundy meant.
donec said:
Can you turn off your cellular data and keep wifi on?
Click to expand...
Click to collapse
You can turn on airplane mode, then turn on wifi. That will disable your ability to make calls over the cell network though (I used to do that when I was at home and use Groove IP). Not sure if that is what you are looking for.

[Q] Smart Actions to automatically disable mobile data when connected to wifi?

On other forums, people have suggested setting up a smart action to automatically turn off mobile data when connected to a wifi connection. However, my Razr M does not appear to give me that option.
I am able to set an action to turn on wifi, and to turn off mobile data when I am at home (using my home location as the trigger and turning wifi on, and turning mobile data off as an action).
However, when I try to set wifi network as a trigger, the "set mobile data" action is greyed out, and I am unable to select it. This is on version 4.2.2.3.0.
Am I missing something here, or is what I am trying to do not possible?
Is there a reason you need to? Android *should* shut data off for any apps that don't specifically request mobile data (VZW's suite comes to mind...)
Sent from my XT907 using Tapatalk 2
sloosecannon said:
Is there a reason you need to? Android *should* shut data off for any apps that don't specifically request mobile data (VZW's suite comes to mind...)
Sent from my XT907 using Tapatalk 2
Click to expand...
Click to collapse
Two reasons: 1) I am on a shared data plan via work, so I want to be mindful of my data use, and 2) it it my understanding that connecting to wifi uses less battery than being constantly connected to 4g.
JOLiu said:
Two reasons: 1) I am on a shared data plan via work, so I want to be mindful of my data use, and 2) it it my understanding that connecting to wifi uses less battery than being constantly connected to 4g.
Click to expand...
Click to collapse
When Wifi is available and your phone is connected, automatically 4g is off and wifi is used... I don't see the point of using smart actions for this.
safsaf_asm said:
When Wifi is available and your phone is connected, automatically 4g is off and wifi is used... I don't see the point of using smart actions for this.
Click to expand...
Click to collapse
Thanks, I did not realize this.
The reason I ask is because I saw a number of sites that discussed turning mobile data off when connected to wifi. See here and here

Turn off Mobile network without turning off Wifi

Hello everyone, I've tried to find the answer to this from multiple websites and forums but nobody was able to give me an satisfactory answer.
Sometimes I need to turn off my mobile network but want to keep on my WiFi as I'm usually calling people through Skype, whatsapp and Facebook messenger, I've tried Airplane mode but it turns off all the communication devices in the phone i.e wifi, Bluetooth and mobile network. I was wondering is there any way in which I could keep my WiFi connected and disable only my Sim Network as I don't afford to keep on connecting and reconnecting my WiFi again and again by turning on airplane mode.
Any help would be a life saver.
Thank you
Device: Samsung Galaxy Note 4
Android 5.1.1
Rooted: No
Turn on airplane mode, then turn on wi-fi.
mujikhalid said:
Hello everyone, I've tried to find the answer to this from multiple websites and forums but nobody was able to give me an satisfactory answer.
Sometimes I need to turn off my mobile network but want to keep on my WiFi as I'm usually calling people through Skype, whatsapp and Facebook messenger, I've tried Airplane mode but it turns off all the communication devices in the phone i.e wifi, Bluetooth and mobile network. I was wondering is there any way in which I could keep my WiFi connected and disable only my Sim Network as I don't afford to keep on connecting and reconnecting my WiFi again and again by turning on airplane mode.
Any help would be a life saver.
Thank you
Device: Samsung Galaxy Note 4
Android 5.1.1
Rooted: No
Click to expand...
Click to collapse
Settings 》more networks》mobile networks》uncheck box for mobile data and it will turn off.
Sent from my SM-N910T using XDA Free mobile app
nine5raptor said:
Settings 》more networks》mobile networks》uncheck box for mobile data and it will turn off.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Dude I don't think you understood my question here. The problem is i want to shut off my cellular NETWORK (not the cellular data) . When i put my mobile on airplane mode(it turns off my cellular NETWOK, but also turns off my wifi). I am finding a way around if this can be avoided by ONLY turning off the Cellular NETWORK not th WiFi.
Hope that clears my point =)
nine5raptor said:
Settings 》more networks》mobile networks》uncheck box for mobile data and it will turn off.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
chodaboy19 said:
Turn on airplane mode, then turn on wi-fi.
Click to expand...
Click to collapse
That's what I told in the post, that i don't want my WiFi to turn off by activating airplane mode, as im usually connected to calls through WiFi, and its really a hassle to call again and again just because of my Cellular network signal.
mujikhalid said:
That's what I told in the post, that i don't want my WiFi to turn off by activating airplane mode, as im usually connected to calls through WiFi, and its really a hassle to call again and again just because of my Cellular network signal.
Click to expand...
Click to collapse
So leave data on...disable cell network and leave WiFi alone.... how about setting WiFi calling to only use WiFi?
Edit: what model note 4? What I show is for the 910T.
Sent from my SM-N910T using XDA Free mobile app
nine5raptor said:
So leave data on...disable cell network and leave WiFi alone.... how about setting WiFi calling to only use WiFi?
Edit: what model note 4? What I show is for the 910T.
Sent from my SM-N910T using XDA Free mobile app
Click to expand...
Click to collapse
Bro maybe I'm not making myself clear enough here, let me tell you in detail. Look, I don't use my cellular data(by cellular I mean the Sim Network like AT&T, Orange). I use wifi to call, like on Facebook messenger, Skype. The problem that I'm facing is that where I live, sometimes the my Sim Network signals drop, therefore I turn on the airplane mode to completely shut down cellular network so I can deactivate the airplane mode later so I can get my cellular network signals back again. Now in doing this process i.e turning on the airplane mode, the phone turns off my WiFi too. That is very annoying as I'm usually connected to Skype calls through my WiFi. I was looking for a way that if we could JUST TURN OFF CELLULAR NETWORK WITHOUT THE PHONE AUTOMATICALLY TURNING OFF THE WIFI.
I hope now I cleared my point
Thanks for the help =)
My model is Note 4, SM-N910C
Bro, maybe you aren't paying attention. The Samsung Galaxy Note 4 has the ability to operate purely on WiFi while airplane mode is enabled. So if you turn on airplane mode, initially it will turn off all networks (voice,text, wifi, Bluetooth, etc.). After that, you can manually turn the wifi back on and it will work purely from the wifi network.
Try the Do Not Disturb feature. That may be what you're looking for.

Categories

Resources