In Dell or ThinkPad notebooks with keyboard backlight, the keybindings to control the keyboard backlight don't emit any event to the userland, about the state change, nor they request userland to change it (as it happens in other models which emits KEY_KBDILLUM{UP,DOWN,TOGGLE} events), this causes unity/gnome-settings daemon not to restore the proper backlight after idle.
Steps to reproduce:
0) ensure your keyboard backlight is on, and
gdbus call --system --dest org.freedesktop.UPower \
--object-path /org/freedesktop/UPower/KbdBacklight \
--method org.freedesktop.UPower.KbdBacklight.GetBrightness
returns a value != from 0. If not, just call the SetBrightness
method with a positive value, to turn on the backlight.
Now turn off the keyboard backlight (or set it to another level)
using the laptop keys, and run:
gsettings set org.gnome.desktop.session idle-delay 1
to make things easier to test.
2) Wait one second and the screensaver should start. Wait the screen to
be turned off. If you just changed the brightness level at the step above,
once the screen is turned off, also the keyboard backlight should be turned off too.
3) Now press a key or move the mouse.
Expected behavior:
4) The keyboard backlight should be set back to the previous level (so it should stay off
or go back to the level you set before the idle timeout happened).
Actual behavior:
5) The backlight is set to the level it had at point 0).
In Dell or ThinkPad notebooks with keyboard backlight, the keybindings to control the keyboard backlight don't emit any event to the userland, about the state change, nor they request userland to change it (as it happens in other models which emits KEY_KBDILLUM{ UP,DOWN, TOGGLE} events), this causes unity/gnome- settings daemon not to restore the proper backlight after idle.
Steps to reproduce: .UPower \ p/UPower/ KbdBacklight \ .UPower. KbdBacklight. GetBrightness
0) ensure your keyboard backlight is on, and
gdbus call --system --dest org.freedesktop
--object-path /org/freedeskto
--method org.freedesktop
returns a value != from 0. If not, just call the SetBrightness
method with a positive value, to turn on the backlight.
Now turn off the keyboard backlight (or set it to another level) desktop. session idle-delay 1
using the laptop keys, and run:
gsettings set org.gnome.
to make things easier to test.
2) Wait one second and the screensaver should start. Wait the screen to
be turned off. If you just changed the brightness level at the step above,
once the screen is turned off, also the keyboard backlight should be turned off too.
3) Now press a key or move the mouse.
Expected behavior:
4) The keyboard backlight should be set back to the previous level (so it should stay off
or go back to the level you set before the idle timeout happened).
Actual behavior:
5) The backlight is set to the level it had at point 0).