by Tze Zhao Chong
Version 1 (March 15, 2018)
Download (81 downloads)
Simple one thread loop the cycles between screen on and screen off state.
This flow allows the device to automatically turn on when picked up from a screen down position, and can automatically turn off when placed screen side down.
Note: Can only turn off phone by activating proximity sensor, otherwise loop will mess up.