by Matt Stephens
this flow will disable wifi after 20 minutes from turning your screen off. Only if wifi is enabled and no media is playing (in case you're streaming music etc).
the flow will then enable wifi when you screen on and cancel the 20 minute timer triggered previously by screen off. It will then wait 10 seconds, check that a wifi connection was made, and if not, will disable wifi and restart flow.