- Category
- Utilities
- Publisher
- az-code-lab
- Repository
- Open repository
- Release
- Open release
- Current version
- v0.0.73
- Release date
- 2026-11-16
- Package size
- macOS 1.2 MB
ampere
A lightweight macOS menu bar app for monitoring battery status and controlling charging on Apple Silicon Macs.
README
Ampere
A lightweight macOS menu bar app for monitoring battery status and controlling charging on Apple Silicon Macs.
Features
- Real-time battery stats - percentage, cycle count, health, temperature, raw charge, and battery age, plus wattage (adapter / battery / system), voltage (adapter / battery), and current (adapter / battery); clicking a card that has a second unit switches it, and the temperature starts in the unit macOS is set to (see Card Units)
- Charge control - pause and resume charging via SMC
- Auto charge - configurable upper/lower bounds to keep your battery in an optimal charge range; custom bounds are the paid feature, and a free license runs the default 40 to 60% range
- Micro-charge prevention - inhibits charging between bounds after restart; only charges from below the lower bound or on explicit user request
- Sleep-safe charging - an in-progress charge never overshoots the upper bound while the Mac sleeps: between the bounds it pauses just before sleep and resumes on wake; below the lower bound the Mac is kept awake until the charge completes
- Charge to upper bound - explicitly allow charging from the current level to the upper bound
- Charge to full - one-shot full charge without touching the configured bounds; normal management resumes when full
- Discharge to upper bound - optionally drain the battery to the target level while on AC power
- Health check - periodically verifies SMC state matches expected values, and re-applies the expected charging state if it drifted; while macOS runs its own calibration charge, which overrides the macOS charge limit, it reports suspended instead of a pass
- macOS 27 support - on firmware that no longer exposes the charge-inhibit key, the app holds the battery through macOS's own charge limit instead, with the same bounds and toggles (see Firmware without CHTE below). macOS still charges the battery to full every few weeks to calibrate its gauge and ignores the limit meanwhile; the panel says so while that runs, says once the battery is full that macOS lifts the override by the clock, about 12 hours after the charge began, and the hold resumes at the level reached
- In-app updates - checks the Homebrew cask for new versions about once a day; a small blue badge dot on the menu bar icon signals a pending update, and clicking Update to X in the panel downloads, verifies, installs, and relaunches
- Menu bar icon - battery shape with live charge level and animated fill when charging or discharging; hovering it shows the current charge and status (e.g. "85% — Charging — 32m to 80%"); the percent readout beside it can be hidden (Settings → Percent in Menu Bar) for a narrower menu bar footprint; a running Keep Awake session shows to the left of the battery, as its symbol and the time it has left (see Keep Awake)
- Pin it, or make it a window - pin the panel to keep it open while you work, or drag it off the menu bar and it becomes a window like any other: title bar, close and minimize buttons, a Dock icon and Ampere's own menu bar for as long as it is open, and it comes back where it was after a restart (see The Panel as a Window)
- Settings window - the settings have a window of their own, grouped by subject, opened from Settings… in the panel footer or with ⌘, (see Settings Window)
- Keep awake - optionally prevent idle sleep while on AC power, for a set duration or until turned off (the Keep Awake row on the panel); a standard power assertion, so it needs no admin rights and is auto-released on quit or crash. The session's Keep Display On option keeps the display on as well, so the Mac does not lock on its own; turning that on asks for Touch ID or your password. A running session shows in the menu bar: a cup and the time left, or, while the display is kept on, a white display on an accent-colored badge. Keep Awake is a paid feature: on a free license the row shows a lock and an Unlock… button, which opens the registration window, in place of its controls, and a running session ends if the paid license lapses
- Launch at login - start automatically when you log in
- Registration - Ampere needs a license to control charging: a free license, asked for in the registration window with your name and email address (the key is emailed to you, never shown in the app, and registered like a bought one), or a paid license bought at amperebattery.app. Until one is registered the app shows only its registration window, with Quit as the other way out. A key registers as many Macs at once as the license server says for it (a free license holds one), and the registration window says how many and how many are in use ("Macs in use: 2 of 5"): a one-Mac key moves to whichever Mac registers it, and a fuller key takes further Macs until it is full. The registration is re-verified against the license server about once a day and each time the registration window opens — network failures never clear it — and Deregister This Mac in the registration window takes this Mac off the key. A free license runs the default 40 to 60% range; a paid license unlocks custom charge bounds and Keep Awake. Paid licenses registered before the free license existed are unchanged.
Requirements
- macOS 15 (Sequoia) or later
- Apple Silicon Mac
- Admin privileges (for charge control features)
- A license for charge control, free or paid (battery information needs none; see Charge Bounds and Registration below)
macOS 14 is not supported: the Homebrew cask and the in-app updater refuse it, and a copy of 0.0.65 or earlier already installed there still opens but gets no further updates (see Updates). macOS 15 is supported, with one caveat about charge control. Ampere needs either the CHTE key in the firmware or the macOS charge limit, and macOS 15 has only the first: the firmware that its later security updates install has no CHTE key, and the charge limit Ampere falls back on without it arrived in macOS 26.4. Ampere checks for both when it takes charge control and, finding neither, monitors the battery only and says so on the panel (see Firmware without CHTE below). Ampere is developed on macOS 26 and 27.
Installation
Homebrew (Recommended)
brew tap az-code-lab/taps
brew install --cask ampere
Manual
Download the latest .dmg from the GitHub Releases page, open it, and drag Ampere.app to your Applications folder.
Usage
Charge Control
Pausing/resuming charging requires root access to write to the SMC. Ampere handles this as follows:
- On launch - once a license is registered (see Charge Bounds and Registration below), the app installs (or updates) its helper binary; an unregistered copy shows only its registration window and asks for nothing until you register, at which point the same steps run. If the helper is missing, outdated, or not authorized for the current account, macOS prompts for your admin password. If cancelled at launch, the app exits; cancelled right after registering, charge control stays on hold until the next charge-control action asks again. If the helper cannot be installed at all, for example because the helper directory is writable by other users, the alert explains why instead of asking for a password.
- Setup - a compiled helper binary (
SMCWriter) is installed at/Library/PrivilegedHelperTools/az-ampere-smc(owned by root), along with a sudoers rule at/etc/sudoers.d/az-amperethat allows passwordless execution of the helper. The rule is pinned to the helper's SHA-256 digest. The helper and every directory leading to it are checked for root ownership, write permissions, ACLs, and symlinks, preventing replacement by an ordinary app. - Subsequent launches - the helper and the current account's passwordless authorization are verified at startup. If both are current, no password is needed. After a Homebrew upgrade, the new helper is installed automatically (one password prompt).
- Cleanup job - once this account can run the helper, the app registers a root launchd job (
/Library/LaunchDaemons/com.az-code-lab.ampere.cleanup.plist) that watches the installedAmpere.app. Registration goes through the same passwordless rule, so it never prompts. If the bundle stays gone for two minutes (the job looks for it every five seconds from the moment it is first seen missing, so abrew upgrade, which quits the app and replaces the bundle within seconds, never comes near the deadline) and no copy of Ampere is running, the job has the helper restore charging and sleep settings and remove the helper, the sudoers rule, the state directory, the job itself, and every account's preferences, caches, and saved window state, so dragging the app to the Trash orbrew uninstallleaves nothing behind (see Uninstall). macOS shows a one-time "Background Items Added" notice when the job is first registered and lists it under Ampere in System Settings > General > Login Items & Extensions. MovingAmpere.appre-registers the job at the next launch; if the old location stays empty for two minutes before that launch, the helper is uninstalled and the next launch asks for the password again.
Upgrading from the former /usr/local/bin/az-ampere-smc location migrates the helper during that same administrator prompt. The replacement is verified before installation, restores the previous session's charging and sleep state, and retires the old helper and watchdogs. A restore failure does not block the installation; the app's launch cleanup and the watchdog retry it. Preferences, charge bounds, and registration stay intact; no manual migration is needed.
Note: Admin access is granted per macOS user account: the sudoers file holds one line per account that has granted it. Another account on the same Mac is asked for its password once, after which both stay authorized, and an upgrade refreshes every line so only the first account to launch the new version is prompted. Revoke removes only the current account's line and deletes the helper once no account remains. Only one running copy of Ampere manages charge control at a time: with fast user switching, a copy launched while another account's copy is already running shows battery information but stands by, and takes over once that copy quits.
Auto Charge
When enabled, the app automatically manages charging between configurable bounds:
- Below lower bound - starts charging, continues until the upper bound is reached
- Between bounds - holds (charging inhibited); use Charge to Upper Bound to explicitly start charging
- Above upper bound - inhibits charging; use Discharge to Upper Bound to actively drain to the target
Charge Bounds and Registration
Ampere needs a license to run, and there are two kinds. A free license is a name and an email address away: in the registration window (it opens by itself until a license is registered; afterwards Manage… on the License row of the settings window opens it), enter both and press Get Free License. The key is emailed to that address and never shown in the app, so entering it under Registration Key with the same address and pressing Register proves the address is yours. One free license per email address and per Mac; it never expires, and a mistyped address costs nothing, since the next request replaces a key that never registered a Mac. No email? Check the spam folder, or press Get Free License again: the key is emailed again, a few times an hour at most. A paid license is bought at amperebattery.app and registered the same way. To move from a free license to a paid one on the same Mac, press Deregister This Mac first, then register the paid key with t