If you like me use your Macbook most time connected to the wall. This is a great tool to keep your battery only charged for example at 60%. This will extend the life time.
https://github.com/davidwernhart/AlDente
Can be installed with brew: brew install aldente