pkg.soopen package index

cask

Install battery with Homebrew Cask

App for managing battery charging. (Also installs a CLI on first use.). Version 1.4.0 via Homebrew Cask; verified from local package data.

install

Additional install commands

macOS

Homebrew Caskverified · 100%
brew install --cask battery

local Homebrew cask metadata

overview

Package summary

App for managing battery charging. (Also installs a CLI on first use.)

Commands and aliases

No executable aliases were found in the local package database.

history

Project history and usage

Battery is a free and open-source GUI and command-line utility for controlling charging on Apple Silicon MacBooks.

Project history

The author created Battery as a holiday side project after finding AlDente's license too restrictive for the desired power-user workflow. It began as a command-line replacement; a colleague's request prompted the addition of an Electron GUI.

Adoption history

The project is distributed as both a macOS GUI and a command-line utility and supports Homebrew installation. Its public GitHub repository has attracted thousands of stars and hundreds of forks, indicating substantial interest among Apple Silicon power users.

How it is used

The GUI maintains an 80% charge target by default and installs the battery CLI. CLI users can maintain a fixed percentage or range, enable or disable charging and adapter input, charge or discharge to a target, inspect status, calibrate the battery, and update or uninstall the utility.

Why package nerds care

Battery is a package-manager-friendly alternative to proprietary charge-limit applications: it is free, open source, scriptable, and installable through Homebrew. Its GUI installs the CLI automatically, allowing interactive menu-bar use and shell automation to share the same underlying controls.

Timeline

  • Initial development: Created as a command-line alternative to AlDente
  • Subsequent development: Added an Electron menu-bar GUI at a colleague's suggestion
  • Current distribution: Available through Homebrew and direct application downloads

Related projects

  • The README names AlDente as the product that inspired the project and as an alternative for Intel Macs. The CLI installs an smc utility built from the smcFanControl project.

Sources

  • Official repository and README: https://github.com/actuallymentor/battery

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for battery. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
No executable data was present.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version1.4.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/actuallymentor/battery

install metadata

Package metadata

Package keycask:battery
Version1.4.0
Package managerHomebrew Cask
Package manager pagehttps://formulae.brew.sh/cask/battery
Homepagehttps://github.com/actuallymentor/battery/
Repositoryhttps://github.com/actuallymentor/battery
Upstream docshttps://github.com/actuallymentor/battery/
Source archivehttps://github.com/actuallymentor/battery/releases/download/v1.4.0/battery-1.4.0-mac-arm64.zip
SHA-2564510a3c3fc772f57a1a7fa595604002458120b55b83364edb98b762d4e19ab14
Bottlenot recorded
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew cask API
Taphomebrew/cask
Full Tokenbattery
Names
  • Battery
Depends On
Artifacts
Auto Updatesyes
Deprecatedno
Disabledno

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • cross-ecosystem install command graph
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkgdb category and tag curation