Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Make all blanking timeouts separately configurable
We'd like to have different delays when blanking from application/home view (ON->DIM->OFF, relatively short delay) vs blanking from lockscreen (ON->OFF, give user some time to interact with the gui). Also it might be desirable to have better control over ON->LPM_ON->LPM_OFF->OFF transitions. Now LPM_OFF delay is hard coded and the rest use the same configuration setting. Provide separate blanking delay settings to use from: * application/home screen after dimming (default 3 seconds) * lockscreen (default 10 seconds) * visual low power mode (default 5 seconds) * blanked low power mode (default 5 seconds) The defaults can changed by installing config files to /etc/mce. And tweaked during runtime via D-Bus or mcetool options: --set-blank-timeout=<secs> --set-blank-from-lockscreen-timeout=<secs> --set-blank-from-lpm-on-timeout=<secs> --set-blank-from-lpm-off-timeout=<secs> The changes made during runtime persist over mce/device restarts. Also make sure the inactivity timeout is re-evaluated when parameters it depends on are changed. [mce] Make all blanking timeouts separately configurable. Fixes JB#26550
- Loading branch information
Showing
4 changed files
with
227 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.