• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Wifi forgotten on always

I use two profiles in Tasker ...

Profile: OfficeFar
State: Not Wifi Connected [ SSID:xxxxxx/yyyyyy MAC:* IP:* ]
Enter: OfficeFar
A1: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]
A2: Variable Split [ Name:%WIFII Splitter: Delete Base:Off ]
A3: Perform Task [ Name:tlaWiFiDisable Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %WIFII2 !~ CONNECTION ]

Profile: OfficeNear
State: Wifi Near [ SSID:xxxxxx/yyyyyy MAC:* Capabilities:* Min. Activate Signal Level:5 Channel:0 Toggle Wifi:Off ]
Enter: OfficeNear
A1: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]
A2: Perform Task [ Name:tlaWiFiEnable Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]

xxxxxx and yyyyyy need to be set to the MAC addresses you are using.

When I leave the officer WiFi is turned off. When I return WiFi is turned back on.

The reason I use it ... I use WiFi in my office all the time ... when I visit a customer location WiFi is turned off and it doesn't sit there trying to connect to their WiFi network.

(The most obscure thing about this process is the wait to disconnect. It is a solution provided by someone else in the Android Forums Tasker Forum.)

... Thom
 
Last edited:
I use two profiles in Tasker ...

Profile: OfficeFar
State: Not Wifi Connected [ SSID:xxxxxx/yyyyyy MAC:* IP:* ]
Enter: OfficeFar
A1: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]
A2: Variable Split [ Name:%WIFII Splitter: Delete Base:Off ]
A3: Perform Task [ Name:tlaWiFiDisable Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %WIFII2 !~ CONNECTION ]

Profile: OfficeNear
State: Wifi Near [ SSID:xxxxxx/yyyyyy MAC:* Capabilities:* Min. Activate Signal Level:5 Channel:0 Toggle Wifi:Off ]
Enter: OfficeNear
A1: Wait [ MS:0 Seconds:0 Minutes:1 Hours:0 Days:0 ]
A2: Perform Task [ Name:tlaWiFiEnable Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]

xxxxxx and yyyyyy need to be set to the MAC addresses you are using.

When I leave the officer WiFi is turned off. When I return WiFi is turned back on.

The reason I use it ... I use WiFi in my office all the time ... when I visit a customer location WiFi is turned off and it doesn't sit there trying to connect to their WiFi network.

(The most obscure thing about this process is the wait to disconnect. It is a solution provided by someone else in the Android Forums Tasker Forum.)

... Thom



Thanks Thom, Tasker seems to be a solid option, though i wouldnt use it had i been a non developer person.
The thing is i'm looking for something more simpler that will connect to my WiFis , and will disconnect if i'm not near them. without configuring anything.
Need to teach my parents to do that either, and they're really not going to add MAC addresses.

I had a chance to check a bit the https://play.google.com/store/apps/details?id=com.glsn.favoriteswifibatterysave , and it seemed preety cool.
it connected automatically to my wifi's if i was near them, and disconnected otherwise.
the thing is that it looks too new, without many downloads.
looking for more options, which are without too much configuration...
 
The MAC is simply the name of the connection. In my case there are two. It is therefor read as xxxxxx or yyyyyyy.

When you enter the command in Tasker it will display the available connections. You simply pick the one(s) you want and it does the command formatting.

I have been using the two profiles for the last two years ... all the time.

... Thom
 
Honestly I haven't really noticed that turn Wifi on/off results in significant battery savings. That said I'd still recommend LLama. It is easier than Tasker to set up and is pretty much set it and forget it.
 
Honestly I haven't really noticed that turn Wifi on/off results in significant battery savings.

Also this. I mentioned recently in another thread that I used to do all the tricks for trying to save battery (toggling autosync, GPS, WiFi, Bluetooth, mobile radios, etc - both manually and with other apps).

Now, I don't. Everything is on all the time, and my devices still make it through the day just fine.
 
do you guys leave wifi on when you are driving in a car? that's when I saw a big drain. I'm not sure why....I guess something to do with how the phone interacts with wifi connections coming in and out of range.
 
Last edited:
well, here was an article on the subject.
http://www.androidcentral.com/shutting-wi-fi-it-worth-it
There are some points on both sides, this article generally lands on recommending wifi on always. There are some comments below which bring out other aspects, including the fact that the strategy of leaving battery on can cause big drain if you are driving. That has been my experience. Maybe your phone is different due to hardware / os or setup. There are a variety of settings that affect wifi performance and drain.
 
Last edited:
Back
Top Bottom