Screen Wake Lock Demohttps://wake-lock-demo.glitch.me/Stay awake with the Screen Wake Lock APITo avoid draining the battery, most devices will quickly fall asleep when left idle. While this is fine most of the time, there are some applications that need to keep the screen awake in order to complete some work.https://web.dev/wake-lock/