# actuallymentor/battery

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

Repository: https://github.com/actuallymentor/battery
Canonical: https://ross.abutalabs.com/products/battery
Language: Shell
License: MIT
License Family: permissive
Last push: 2026-02-25T11:20:24+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 69, release rhythm 48, longevity 100
- inputs: {"age_days": 1680, "days_push": 189, "days_rel": 189, "gap_med": 96, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7132, forks 286 (observed 2026-08-28T04:09:56.117603+00:00)

## What it is
A free, open-source CLI and menu bar GUI tool for limiting battery charge (e.g., to 80%) on Apple Silicon MacBooks to prolong battery longevity. It works by enabling/disabling charging via SMC and persists across reboots.

## Use cases
- keep my macbook battery at 80% while plugged in
- limit macbook charging to extend battery lifespan
- prevent battery overcharging on apple silicon mac
- control macbook charging from the command line
- set a custom battery charge limit on mac
- stop my always-plugged-in laptop from degrading the battery

## When to choose
- you have an Apple Silicon (M1/M2/M3) MacBook and want a free, open-source charge limiter
- you want both a menu bar app and a CLI with custom charge thresholds
- you want the limit to persist across reboots and app closures

## When to avoid
- you have an Intel Mac, which is unsupported
- you need advanced features like scheduled discharge profiles that paid tools like Al Dente offer
- you are unwilling to grant admin privileges for SMC access

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, gui, developer-tools
- domain: hardware, developer-tools, apple-ecosystem
- platform: cli
- tags: battery-health, charge-limiting, apple-silicon, macbook, smc, shell, macos, desktop

## Member repositories
- actuallymentor/battery (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:56.117603+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:40:03.318873+00:00, confidence not recorded.
  - readme: https://github.com/actuallymentor/battery (fetched 2026-08-28T04:09:56.117603+00:00, sha 8ad4ab96f32d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
