diff options
author | Josh Triplett <josh@joshtriplett.org> | 2014-03-11 21:16:33 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-03-12 16:43:51 +0100 |
commit | 7b909d7407965c03caaba30daae7aee113627a83 (patch) | |
tree | 7a942a8330f80bd9535c98293fcbca24f5c6f081 /LICENSE.GPL2 | |
parent | cddc35f75ecff63b2ffd3f8e4c863d475e7b14ca (diff) |
backlight: Avoid restoring brightness to an unreadably dim level
Some systems turn the backlight all the way off at the lowest levels.
Clamp saved brightness to at least 1 or 5% of max_brightness. This
avoids preserving an unreadably dim screen, which would otherwise force
the user to disable state restoration.
Diffstat (limited to 'LICENSE.GPL2')
0 files changed, 0 insertions, 0 deletions