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

Optionally make proximity sensor behave like lid sensor #305

Merged
merged 1 commit into from Aug 5, 2015
Merged

Optionally make proximity sensor behave like lid sensor #305

merged 1 commit into from Aug 5, 2015

Conversation

spiiroin
Copy link
Contributor

@spiiroin spiiroin commented Aug 4, 2015

No description provided.

…Fixes MER#1201

On devices that have a lid cover sensor, mce uses it for turning the
display on/off when the cover is opened/closed. On devices that do not
have a dedicated lid sensor, users might prefer using proximity sensor
for that purpose even if it has some side effects.

Add a setting for making mce treat proximity sensor act as if were
a lid sensor.

The setting is disabled by default and can be changed with:

  mcetool --set-ps-acts-as-lid=<enabled|disabled>

The value of the setting persists over mce / device restarts.
@lpotter
Copy link

lpotter commented Aug 4, 2015

LGTM

spiiroin added a commit that referenced this pull request Aug 5, 2015
Optionally make proximity sensor behave like lid sensor
@spiiroin spiiroin merged commit 30d4f73 into nemomobile:master Aug 5, 2015
@spiiroin spiiroin deleted the mer1201_ps_acts_as_lid branch August 5, 2015 04:17
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

2 participants