Hmm, started looking into this and realized I already had tlp running, and that supports limiting maximum charge on the battery in the laptop. I didn't seem to see anything equivalent in the tuned documentation, but I did see the presets… and finding things like SAP Hana makes me think this isn't aimed at laptops…

echo 80 | sudo sponge /sys/class/power_supply/BAT0/charge_control_end_threshold

https://manpages.debian.org/testing/moreutils/sponge.1.en.ht... good for privilege escalated pipe to file :)