Battery install guide

Get Battery on macOS and Linux Now!

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

Battery one-command setup card, command-line tool, for macOS and Linux, 7.2k stars on the project's repository
★ 7.2k stars macOS and Linux

Get Battery with one command

Pick your system, reveal the step-by-step guide, copy the command, paste it into your terminal and press Enter. This command comes from the project's public source.

PowerShell not published

What Battery does

  • Enables charging when your battery is under 80% charged
  • Option 2: download the app dmg version here
  • Disables charging when your battery is above 80% charged
  • Keeps the limit engaged even after rebooting
  • Keeps the limit engaged even after closing the tray app
  • Download the precompiled tool in this repo (built from the hholtmann/smcFanControl repository)

Summarised from Battery's own documentation.

About Battery

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

CategoryCommand-line tool
Install methodHomebrew
Windowsno install command published
macOS / Linuxdocumented install command available
PriceFree and open source
Command verifiedFrom project source
Popularity7.2k stars on the project's public repository

On mobile

Battery is a command-line tool, so there is no phone app for it — a phone has no shell to run it in. You'll need a desktop, or a remote shell into a machine that has one.

Battery is developed by its own authors. This page is an independent reference; we are not affiliated with or sponsored by the project. The command shown here was reproduced from the project's public documentation — always check the project's own documentation before running anything.