Update 2025-07-31: Version 0.1.6 with changes to compile on newer kernels. The AUR package has been updated as well.
This is a set of patches for the Linux kernel that enable changing the battery charge thresholds. This is useful for example to limit the charge to 80% to prolong the life of your battery if you leave the charger connected all the time.
The project on Github: https://github.com/c—/applesmc-next
Arch Linux AUR package: https://aur.archlinux.org/packages/applesmc-next-dkms