My iPhone 15 Pro Max caps charging at 80% thanks to Apple’s built-in iOS feature; however, the same built-in feature doesn’t appear for a macOS Intel MacBook Pro machine and we have a fleet of these. BatteryOptimizer_for_Mac to the rescue! I installed it on my macbookpro11,5 this afternoon and will let it run for a few weeks to see how it performs. Installation is simple with a single Terminal command (and some fussing in System Settings):
curl -s https://raw.githubusercontent.com/js4jiang5/BatteryOptimizer_for_Mac/main/setup.sh | bash
While there are many other open source options out there including some commercial options, they appear more focused on Apple-silicon based MacBooks.