Set screen timeout high when watch YouTube

by DEV LeSnake

Version 1 (October 7, 2018)

Download (108 downloads)

◾Only 4 blocks
◾Needed Privs:
-Acess screen content observe Actions
-Modify system settings

If YouTube in foreground, this Flow set the screen timeout to a specified time.

The default normal timeout is 2:30 and the YouTube screen timeout is 10 minutes.

So you change the timeouts:

Go into flow and edit set screen timeout blocks. The block under "App in foreground" set timeout, when YouTube are in foreground and the left of "App in foreground" set the normal timeout.