For some apps, you may want to prevent the screen from dimming or going to sleep.
We do have a hidden feature to support this, called "keepScreenOn".
To enable this feature, you must add "keepScreenOn" : true under "general" section in appConfig.json, or in Import/Export section when editing your app.