This app allows you to keep your screen on *only* when the device is connected to USB and Debugging (ADB) is enabled.
It switches to the previously set display timeout when the device is unplugged or plugged into a wall socket.
WRITE_SETTINGS to change the display timeout setting
INTERNET for Crashlytics (crash reports)
Note: If the app crashes, please send the crash report so that I can fix it. No user-specific information is sent, only information related to the crash (stacktrace) and device information like OS version, free space, rooted/non-rooted, free RAM, etc, is sent.
This application is open-source under the Apache license.
DISCLAIMER: I am not responsible for any damage to the device caused by having the screen stay awake for long periods of time.