After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660074 - failed to restore brightness
failed to restore brightness
Status: RESOLVED DUPLICATE of bug 659066
Product: gnome-settings-daemon
Classification: Core
Component: power
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Richard Hughes
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2011-09-25 18:34 UTC by Matthias Clasen
Modified: 2011-09-26 08:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2011-09-25 18:34:18 UTC
I experience this spam in .xsession-errors, repeatedly

(gnome-settings-daemon:1762): power-plugin-WARNING **: failed to restore backlight to 100: out of brightness range: 100, has to be 15 -> 0

briefly looking at the code, we find

        manager->priv->kbd_brightness_old = -1;
        manager->priv->pre_dim_brightness = 100;
 
and 
        gint                     pre_dim_brightness; /* level, not percentage */


100 looks more like a percentage than a level.
Comment 1 Richard Hughes 2011-09-26 08:52:33 UTC
Yup, that's fixed in https://bugzilla.gnome.org/attachment.cgi?id=197343&action=edit -- on bug #659066

*** This bug has been marked as a duplicate of bug 659066 ***