It’s called “optimized battery charging” and it’s been in macOS for a long time.
[1] https://support.apple.com/en-us/108055
It’s called “optimized battery charging” and it’s been in macOS for a long time.