Comment 0 for bug 1462489

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Support an interface in QML and HTML to allow an app to keep the screen on while the app is active. This has come up in several scenarios, such as an ebook reader, a clock in night mode.

One solution to inhibit the screen blanking:

Add a new dbus rule to the default template
Provide a mediator (unity8) to control this, so it can restore the screen blanking when the app is not active or has been closed
Prompt the user for confirmation the first time the app accesses it
use the trust store to avoid prompts each time
add to the System settings Other app access panel an entry for Screen or Display so the setting could be revoked