summaryrefslogtreecommitdiff
path: root/DISTRO_PORTING
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2014-03-11 21:16:33 -0700
committerLennart Poettering <lennart@poettering.net>2014-03-12 16:43:51 +0100
commit7b909d7407965c03caaba30daae7aee113627a83 (patch)
tree7a942a8330f80bd9535c98293fcbca24f5c6f081 /DISTRO_PORTING
parentcddc35f75ecff63b2ffd3f8e4c863d475e7b14ca (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 'DISTRO_PORTING')
0 files changed, 0 insertions, 0 deletions