Skip to content

On wakeup from suspend restore remembered keyboard brightness

Kai Uwe Broulik requested to merge work/restorekbdproper into master

Some laptops turn off keyboard backlighton their own when the lid is closed, so when you close the lid, it will suspend and remember the turned off keyboard backlight, and turn it back off on wake up.

This patch instead remembers the last keyboard brightness when it changes and restores that value on wake up


  • turned on keyboard brightness, closed the lid, opened it back up, keyboard was still lit up with this patch

@davidedmundson @bshah

Merge request reports