Add WakeLock option
godind opened this issue · comments
Add a WakeLock option to prevent device from sleeping and locking the screen.
replace NoSleep so it works on non-mobile devices: https://medium.com/@dhashvir/how-to-setup-a-typescript-project-to-use-wake-lock-api-e2243512c012
The current implementation with NoSleep works on my Raspberry Pi with DSI touch display, if KIP is in fullscreen mode. In window mode, the screensaver kicks in as configured. For me this is quite ok.
Maybe not that important them. Just need to look at power and cpu usage of the current implementation.