Skip to content
Commit ddfef4e8 authored by Giovanni Campagna's avatar Giovanni Campagna Committed by Giovanni Campagna
Browse files

power: adapt to GnomeRR API changes

Reading the backlight from GnomeRR can't fail anymore (although
-1 can be returned, meaning that XBACKLIGHT is not supported).
Also, for GnomeRR the value is always a percentage.

We still need to handle min/max in case we use sysfs directly
(which will be the common case when we move to wayland)

https://bugzilla.gnome.org/show_bug.cgi?id=705507
parent 7167c781
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment