On Wed, 05.03.14 11:31, Josh Triplett (j...@joshtriplett.org) wrote:

> On restore, I'd suggest reading max_brightness, and if the stored value
> falls under a threshold of ceil(max_brightness/SOME_DIVISOR), restore it
> to that value instead.  (Ideally there should be some way to ask the
> driver "what level of brightness will produce a non-zero value in
> actual_brightness", but no such mechanism seems to exist.)
> 
> Does that sound reasonable?

I'd be willing to merge that on ignore put the brightness to at least
1 or 5% of the full range, for whatever is larger. i.e. MAX(1, 
max_brightness/20).

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to