linrunner / TLP

TLP - Optimize Linux Laptop Battery Life
https://linrunner.de/tlp
GNU General Public License v2.0
2.68k stars 128 forks source link

⌨️💡Keyboard light on when laptop sleep🛌 #655

Closed KwaraMiguel closed 1 year ago

KwaraMiguel commented 1 year ago

👋 i have Lenovo ideapad gaming 3 and the keyboard remain on when i don't use it for sometime and the screen goes off.unlike the normal suspension which usually turn off both screen and keyboard light.please you modify the code to also turn off the keyboard light when it goes to sleep. 🙏 Thanks for you time and have a good day

linrunner commented 1 year ago

Hi,

screen and keyboard backlight are controlled by the graphical desktop environment. On my laptops (with GNOME) the keyboard backlight goes off as soon as the screen turns off.

TLP is not aware what happens in the GUI and does not know when, for example, the screen is locked or turned off. TLP also principally does not manage things controlled by the desktop. This avoids conflicts and makes it transparent for the user what controls what.

In your case you have to look into the desktop environment. Maybe a kernel interface to control your hardware is missing.