The solution would work even if the screen is off.In the Yes and No scene, the task Auto power off is supposed to be stopped wherever you choose to continue using the device, else, once the timer completes the device will auto shutdown.(I learned about the timer from the post by nooblikeyou here.) For timer to work, Tasker waits for one second, then subtracts value 1 from the current value of %Scount, decides to wait for one second and do the subtraction again, if the variable's value is not zero, and once the values reaches zero device executes the shutdown action.In the task Auto power off, the variable gets set to maximum value of timer after the first X minutes wait is over and first scene is shown.%Scount is your custom global variable which should be equal to the maximum value of auto shutdown timer, such as 60 for 1 minute or 60 seconds.Variables → Variable Subtract → Name: %Scount, Value: 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |