Battery health management - improve the lifespan of laptop battery (like macOS)
See https://support.apple.com/en-us/HT211094
upower should allow users to set a mode to "increase the life of the lithium-ion battery in laptops by limiting that laptop's maximum charge level when plugged in based on analysis of your charging patterns and the battery's temperature history".