actuallymentor

    actuallymentor/battery

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

    cli
    Shell
    MIT
    7.2K stars
    300 forks
    7.2K GitHub watchers
    Updated Oct 31, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 248 days ago, with 8 contributors on GitHub.

    Gained 30% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Manages battery charging status on Apple Silicon Macs to limit charge levels and prolong battery lifespan via CLI and GUI.
    • Provides user-controlled battery charge limits unlike macOS Optimized Charging, enabling precise and persistent charge management.
    • Use for maintaining an 80% charge cap to extend battery health on MacBooks plugged in continuously.
    • Use for scripting or automating battery charge control through the command-line interface on Apple Silicon Macs.
    • Use for troubleshooting and manually toggling charging states to optimize battery usage and calibration.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    • No commits in the last six months (last push Feb 2026).

    General guidance from repository metadata, not legal advice. How we score

    From the README

    This tool makes it possible to keep a chronically plugged in Apple Silicon Macbook at 80% battery, since that will prolong the longevity of the battery. It is free and open-source and will remain that way.

    Want to know if this tool does anything or is just a placebo? Read this excellent article. TL;DR: keep your battery cool, keep it at 80% when plugged in, and discharge it as shallowly as feasible.

    This is an app for Apple Silicon Macs. It will not work on Intel macs. Do you have an older Mac? Consider the free version of the Al Dente software package. It is a good alternative and has a premium version with many more features.

    When installing via brew or dmg, opening the macOS app is required to complete the installation.

    The first time you open the app, it will ask for your administator password so it can install the needed components. Please note that the app:

    Do you have questions, comments, or feature requests? Open an issue here or Tweet at me.

    Excerpt from the actuallymentor/battery README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    300+16

    Open issues

    186+11

    Compared with peers in CLI

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    actuallymentor/battery compared with CLI repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    vercel-labs/agent-desktop17.0K+13.3K33today
    mattpocock/skills315.4K+8.7K357 days ago
    stablyai/orca116.8K+6.6K40today
    obra/superpowers313.1K+4.5K532 days ago
    Panniantong/Agent-Reach109.3K+3.0K604 days ago
    actuallymentor/battery7.2K—21248 days ago
    Category median116.8K+6.6K40—

    Discover Repositories

    Search across tracked repositories by name or description