![](https://www.bram.us/wordpress/wp-content/uploads/2016/06/javascript-logo-banner-668x198.jpg)
On some sites you don’t want the screen to dim (and eventually turn off) when left idle. Think of a run-tracking app, a puzzle game that takes device motion input, a recipe site for example: you’d want to keep the screen awake even if there is no touch input. This is where the Wake Lock …