Quicksettings Screen On prevents your phone from turning the screen off. It requires a wake lock to tell android to keep the screen on. This might be useful if you need to execute a long running task on your phone that gets interrupted otherwise.
The app integrates into the quick settings that are available in Android 7. Just add the new "Screen On" widget to your quicksettings.
* quick settings integration
* allow dimming of screen - The
WAKE_LOCK - Required to keep the device alive