tpacpi-bat is a script using acpi_call kernel module which allows one to set battery charge thresholds on new ThinkPad models not supported by tp_smapi.
- acpi_call: https://github.com/mkottman/acpi_call
- tpacpi-bat: https://github.com/teleshoes/tpacpi-bat
- utility scripts: https://github.com/morgwai/tpbat-utils-acpi
Ubuntu / LinuxMint
You can use this PPA
Packages are available for ArchLinux: https://aur.archlinux.org/packages.php?ID=54293
You need to build from source.