Ad

battery: Limit Apple Silicon Mac battery charge

Battery limit utility for Apple Silicon Macs allowing users to maintain a specific charging percentage (e.g., 80%) to prolong battery health. Provides both GUI and CLI options.
Screenshot of actuallymentor/battery homepage

Battery is a utility that allows users to control the charging behavior of their Apple Silicon Macs (M1, M2, M3). The primary objective is to enable users to maintain a specific battery level, typically 80%, while plugged in. This approach helps to prolong the battery's overall lifespan by reducing prolonged periods at 100% charge. The project utilizes the smc tool and a command-line interface to achieve this. It's an alternative to macOS’s built-in Optimized Charging feature, offering more granular control.

  • Granular Control: Precisely set and maintain the battery charging percentage, offering more flexibility than macOS’s Optimized Charging.

  • CLI & GUI: Provides both a graphical user interface and a command-line interface, catering to different user preferences and technical expertise.

  • Reboot Persistence: The configured battery limits persist even after system reboots.

  • Wide Range of Functionality: Supports charging, discharging, calibration, and adapter control, providing comprehensive battery management capabilities.

  • Open Source & Free: The project is released under an open-source license and is available for free use.

  • Core Functionality: Allows setting and maintaining a specific battery percentage (e.g., 80%), enabling/disabling charging, and calibrating the battery.

  • CLI: Offers a command-line interface for advanced users and automation tasks. Provides options for setting charging limits, discharging to a specific level, and managing the adapter states.

  • GUI: Provides a user-friendly graphical interface for easily setting and monitoring battery charging limits.

  • macOS Compatibility: Specifically designed for Apple Silicon Macs (M1, M2, M3) and compatible with macOS Ventura and later.

  • Developer Experience: Relies on standard macOS tools and is designed for ease of installation and use.

The project appears to be actively developed, with recent commits and ongoing issue management. The documentation is comprehensive, including installation instructions and troubleshooting guides. While the project has a moderate number of stars and forks, the active issue resolution and recent updates suggest continued maintenance and support. The use of pull requests to suggest features demonstrating collaborative development.

Battery benefits users seeking to extend the lifespan of their Apple Silicon Mac batteries. It's ideal for power users and anyone wanting more control over their battery charging habits than macOS’s built-in features allow. By maintaining a lower, more consistent charge level, it helps safeguard battery health and provides a more sustainable approach to battery usage, especially for users who frequently keep their Mac plugged in.

Languages:
Summarize:
Share:
Stars
7,114
Forks
284
Issues
175
Created
4 years ago
Commit
6 months ago
License
MIT
Archived
No
Updated 1 month ago

Similar Repositories