Auto keyboard backlight setting for Lenovo Thinkpad T16 #718
klickster68
started this conversation in
Custom scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I created a powershell script to turn on/off the keyboard backlighting for Lenovo Thinkpad T16 (2022 model). it doesn't have auto-off settings in BIOS/app. This was disseminated from other tools that control lighting on Thinkpads. NO WARRANTY GIVEN OR IMPLIED. This script relies on the Lenovo utilties libraries that are installed as default in the Lenovo Window 10 factory OS image. Should work in Win 11 too as long as the thinkpad tools are compatible. Script is calling the PS scripts using powershell(x86) (32bit) since it does not work with 64bit powershell - I guess the libraries are 32bit. Prior to using these scripts, I opened 32bit powershell(x86) as admin and enabled the script execution bypass (use the Set-ExecutionPolicy Bypass command). You can test these manually from powershell(x86) by executing .\keylow.ps1 and .\keyoff.ps1. Hope this is useful to the Thinkpad users - not sure why Lenovo couldn't have just added auto-off feature for the keyboard backliight like every other manufacturer.
Lenovo_T16_keyboard_toggle.zip
Beta Was this translation helpful? Give feedback.
All reactions