Wednesday, April 17, 2013

Tasker to set smart auto airplane mode


Tasker to set smart auto airplane mode



We may already be familiar with quite some airplane mode software, and wondering why we still need tasker to do this job?


Let me tell the difference between tasker and the others airplane mode apk.


Most airplane applications just set up the timeline like what time to what time you want it be on and off.


Tasker is different, let us say powerful and brilliant. You may set up a time context, and once time is up, tasker would notify you and ask you if you wanna proceed or not. If you are still playing on the phone, I guess you don’t feel like to be cut off from the internet suddenly.


Well, if time is up and you didn’t play on the phone, after a pre-defined wait time, your phone will go into airplane mode, which would help you save battery and mobile data as well.


In some particular situations, like time is up and you tap on the button to go on playing, minutes later, you are done playing, if you click on the airplane mode widget provided by your system or any 3rd party toggle widget apps. The profile will turn inactive automatically. And if minutes later, you change your mind and turn off the airplane mode toggle widget, the profile will get activated immediately. So you don’t have to worry if you forget to turn the airplane mode on later after you are done playing.



Profile 1: (airplane mode)

 

Context-time-from 01:00 till 07:00

 

Task: (airplane set)

Action 1-task-if %SCREEN~Off

 

Action 2-task-wait 15 minutes


Action 3-net-airplane mode, set On, if %SCREEN~Off

 

Action 4-task-else

 

Action 5- alert-popup task buttons, text-Go sleeping? , Task1-play, Task2-sleep, if %SCREEN~On


Action 6- task-wait 1 hour, if %SCREEN~On  -------- if screen is on, will wait, if not, will not wait and move onto the next action.


Action 7- task-Goto, type-action number 1, if %AIR~Off   -----------with this if statement set, tasker could go on the loop until airplane mode is set on.


 

Exit task:

Net-airplane mode, set off   --------- with this exit task, when end time comes up, tasker would automatically turn off airplane mode for you.

 

In the tap of Tasks, create 2 separate tasks,

 

Button 1: (play) action-net-airplane mode, set off, icon

Button 2: (sleep) action-net-airplane mode, set on, icon

 

 

Profile 2: (airplane plus)

 

Context 1: state-net-airplane mode, invert checked

Context 2: state-tasker-profile active, matches "airplane mode"

Task:

Action 1: task-wait 15 minutes

Action 2: task-perform task, name: airplane set, if %AIR ~ Off

--------this second profile is very important, after set, if your phone has gone into airplane mode, the task of first profile would stop automatically, and if you manually turn airplane mode off after it is turned on, this second profile would get fired again automatically. so that you don't have to manually turn it on later after done playing a while.




 

No comments:

Post a Comment