chiark / gitweb /
backlight: Avoid restoring brightness to an unreadably dim level
authorJosh Triplett <josh@joshtriplett.org>
Wed, 12 Mar 2014 04:16:33 +0000 (21:16 -0700)
committerLennart Poettering <lennart@poettering.net>
Wed, 12 Mar 2014 15:43:51 +0000 (16:43 +0100)
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.


No differences found