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

Tasker Profile Objective

Heres a little challenge for all you Tasker buffs.

I already have a profile (Profile 1) that turns WiFi on every 10 minutes and off after 30 seconds so i can get HeyWire (Web texting app) notifications. I also have another profile (Profile 2) that turns WiFi on when i switch the display on and turns it off whenever i switch the display back off.

So the probelm is, whenever i have the display on (Profile 2 is active) and 'Profile 1' becomes active after <10 minutes (then inactive after 30 seconds), then my WiFi turns off, which i dont want it to.

If i change 'Profile 1' so that it only turns my WiFi on every 10 minutes but not off again, then it will stay on until i switch my display on and off again (which is a long time sometimes).

The reason i dont just have my WiFi on all the time is because it really drains my battery, and having it come on only when i need it doubles my battery life.

Sorry if that sounds confusing :)
 
The easiest thing to do would be to make the action that turns off Wifi conditional, based on the state of the screen. In the profiles list, tap on the existing task for this profile and select Edit. Tap on the action where Wifi is turned off, and check the "If" check box near the bottom of the dialog. Tap on the yellow tag that appears, and select Screen. Tap on the blank field under the yellow tag and type "off". Then tap Done. Tap Done again.

The profile will still activate when the screen is on, but won't turn Wifi off unless the screen is off.

Optionally, you could add a similar context to the profile itself, to prevent it from activating while the screen is on, but since the screen would already be on and the device awake, I don't see any battery savings there.
 
The easiest thing to do would be to make the action that turns off Wifi conditional, based on the state of the screen. In the profiles list, tap on the existing task for this profile and select Edit. Tap on the action where Wifi is turned off, and check the "If" check box near the bottom of the dialog. Tap on the yellow tag that appears, and select Screen. Tap on the blank field under the yellow tag and type "off". Then tap Done. Tap Done again.

The profile will still activate when the screen is on, but won't turn Wifi off unless the screen is off.

Optionally, you could add a similar context to the profile itself, to prevent it from activating while the screen is on, but since the screen would already be on and the device awake, I don't see any battery savings there.

yeah i just applied your second suggestion there. seems to work great. it actually will save battery that way because after doing that, when my display is off my wifi only comes on every 10 minutes for 30 seconds and then goes back off again so it will save a lot of battery. And it doesnt affect my phone when i have the display on. Perfect :)

Thanks a lot mate.
 
yeah i just applied your second suggestion there. seems to work great. it actually will save battery that way because after doing that, when my display is off my wifi only comes on every 10 minutes for 30 seconds and then goes back off again so it will save a lot of battery. And it doesnt affect my phone when i have the display on. Perfect :)

Thanks a lot mate.

In conjunction with the first part, the second part won't make much (if any) difference. If you've implemented only the second part, and you turn on the screen during the 30 seconds that Wifi is on as a result of the first profile, Wifi will still turn off after 30 seconds because the task that turns it off has already begun, and will continue executing regardless of the screen state.
 
In conjunction with the first part, the second part won't make much (if any) difference. If you've implemented only the second part, and you turn on the screen during the 30 seconds that Wifi is on as a result of the first profile, Wifi will still turn off after 30 seconds because the task that turns it off has already begun, and will continue executing regardless of the screen state.

yeah i suppose thats true. ill wait and see if it annoys me at all and change it if it does. i like my tasker profiles to work without any interferance with other profiles.

i didnt mention this because i thought the second suggestion would work flawelessly, but i cant get the first one to work. when i tap on the 'if' thing, this comes up: '%' '-' 'blank field'. a yellow tag doesnt appear. you can tap on the '-' and then a list comes up that says 'select condition operator'. not sure what to do after that.
 
Back
Top Bottom