Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tklock] Add setting for lid is closed als limit. Fixes JB#33468
The light level limit used for filtering lid opened/closed events is hard coded - which makes it impossible to specify platform specific values. Add setting for the light level limit. By default it is assumed that ALS will report zero lux in complete darkness. Configuration files can be used to provide platform specific default. Users can - if necessary - users tweak the limit mcetool option: --set-filter-lid-als-limit=<lux> The value of the setting persists over mce / device restarts.
- Loading branch information
Showing
4 changed files
with
69 additions
and
4 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
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