Screen Off when Plugged when Locked

by Stephanie Bloomsdale

Version 1 (April 20, 2020)

Download (10 downloads)

A flow that keeps the screen off at power connection or disconnection, --IF-- the device is locked (i.e. the lock screen is active). Having the device lock itself immediately when the screen is turned off prevents this flow from failing.

People that'd enjoy the screen turning on for a moment before it shuts off can get this by editing this flow's "delay" block where they can set the Duration under Input argument to a second (00h 00m 01s) or more.

Ideally the flow would be able to keep the screen off whether the device is locked or not, but it seems this is no longer possible as flows that attempt to do this employ the "is the device accessible" check which doesn't seem to work anymore.