batt

Install command:
brew install batt

Control and limit battery charging on Apple Silicon MacBooks

https://github.com/charlie0129/batt

License: GPL-2.0-only

Development: Pull requests

Formula JSON API: /api/formula/batt.json

Formula code: batt.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
sonoma ✅

Current versions:

stable ✅ 0.8.0
head ⚡️ HEAD

Depends on when building from source:

go 1.27.1 Open source programming language to build simple/reliable/efficient software

Requires: arm64 architecture, macOS

Binaries: batt

Service:

Start now and at startup: sudo brew services start batt
Run directly: $HOMEBREW_PREFIX/opt/batt/bin/batt daemon --log-level=debug --always-allow-non-root-access --config=$HOMEBREW_PREFIX/etc/batt.json
The batt service must be running as root before most of batt's commands will work.

Analytics:

30 days90 days365 days
Installs854882,517
Installs (--HEAD)3311
Installs on Request854882,512
Installs on Request (--HEAD)3311
Build Errors0