restore previous brightness value after toggling keyboard backlight
... provided it was not already zero, instead of always setting to maximum brightness.
How to test:
- Have a keyboard with multiple brightness levels
- Assign a shortcut for "Toggle Keyboard Backlight"
- Set keyboard backlight to 50%, eg with the slider in the battery applet
- Press toggle shortcut (to turn off)
- Press toggle shortcut (to turn on again)
Before:
Keyboard brightness is 100%
After:
Keyboard brightness is 50%
Edited by Natalie Clarius