Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting for blanking pause mode #302

Merged
merged 1 commit into from Jul 31, 2015
Merged

Add setting for blanking pause mode #302

merged 1 commit into from Jul 31, 2015

Conversation

spiiroin
Copy link
Contributor

No description provided.

Usually navigation applications use blank prevent to keep display on.
Sometimes - say when navigating while driving with bike - it might
be desirable to still allow display to dim (or blank) to save battery.

Add setting for controlling blank prevent handling to make it possible
to allow display to dim or even blank while application is using blank
prevention D-Bus interface.

The supported modes are:

  * keep-on: blank prevent sessions keep the display on as before
  * allow-dim: display can be dimmed even if blank prevent is used
  * disabled: display can be blanked even if blank prevent is used

By default the "keep-on" mode is used and blank prevention works just
like it did before the changes. The mode can be changed via:

  mcetool --set-blank-prevent-mode=<disabled|keep-on|allow-dim>

The value of the setting persists over mce / device restarts.
spiiroin added a commit that referenced this pull request Jul 31, 2015
@spiiroin spiiroin merged commit d415d97 into nemomobile:master Jul 31, 2015
@spiiroin spiiroin deleted the jb27486_blanking_pause_mode branch July 31, 2015 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant