actuallymentor/battery

CLI/GUI for managing the battery charging status for Apple silicon (M1, M2, M3) Macs

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 44 minutes ago
Added to GitGenius on September 9th, 2026
Created on January 26th, 2022
Open Issues & Pull Requests: 181 (+0)
GitHub issues: Enabled
Number of forks: 286
Total Stargazers: 7,151 (+0)
Total Subscribers: 45 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 21.3 hours
Mean response time: 19.1 days
90th percentile: 64.1 days
Tracked items: 136

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 73% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. Only 3% of issues opened in the past year have been closed. Three people close 74% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 104
New in 7 days: 4
Closed in 7 days: 0
Avg open age: 464 days
Stale 30+ days: 95
Stale 90+ days: 91

Recent activity

Opened in 7 days: 4
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • help wanted (PR welcome) (3)
  • feature (1)
  • wontfix (1)
  • ✅ ready for work (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Battery is a CLI and GUI tool for managing battery charging limits on Apple Silicon Macs.

The tool addresses battery longevity by preventing overcharging, which generates heat and degrades lithium-based batteries over time. It works by discharging the battery to 80% even when plugged in, then disabling charging above that threshold and re-enabling it below. The charging limit persists across reboots and remains active even when the app is closed. The tool includes both a graphical interface for casual users and a command-line interface that supports custom charging percentages beyond the default 80%.

Battery is designed specifically for Apple Silicon Macs and will not run on Intel-based machines. The README names Al Dente as an alternative, noting it offers a free version and premium tier with additional features. Installation is straightforward through Homebrew, a downloadable DMG file, or direct CLI installation. The GUI requires administrator credentials on first launch to install necessary components, including the underlying command-line tool. Users seeking charging limits other than 80% must use the CLI rather than the graphical interface.

The project maintains both CLI and GUI implementations, with the GUI built as an Electron application. The tool depends on a precompiled SMC utility sourced from an external repository to communicate with the Mac's system management controller. Development appears focused on core functionality for the Apple Silicon platform, with the creator having built this as an alternative to existing solutions due to licensing concerns with comparable software.