The setting is just a GUI wrapper over what the system provides. In this regard, execute:
$ ls /sys/class/power_supply/BAT0
and look for anything resembling threshold. I’m not sure what the name is in Thinkpad, but it’s quite commonly named charge_control_end_threshold. You can just echo under root or sudo tee the percentage number (without percent symbol) you want it to stop charging.
Yes, I have found this extension searching in the forum, after installing I can modify the battery charge treshold, thank you very for your suggestion!!
I didn´t know that you’re maintaining it in AUR, I’m going to delete and install again your version.
Nice, ThinkPad has both start and end threshold control. My Legion only has conservation mode whoch is a simple toggle, no way to set tbe percentage number, it’s hardcoded in the firmware.