macOS
brew install --cask batterylocal Homebrew cask metadata
安装
brew install --cask batterylocal Homebrew cask metadata
概览
App for managing battery charging. (Also installs a CLI on first use.)
历史
Battery is a free and open-source GUI and command-line utility for controlling charging on Apple Silicon MacBooks.
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.
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.
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.
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.
安全态势
没有找到 battery 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/actuallymentor/battery
安装元数据
| 软件包键 | cask:battery |
|---|---|
| 版本 | 1.4.0 |
| 软件包管理器 | Homebrew Cask |
| 软件包管理器页面 | https://formulae.brew.sh/cask/battery |
| 主页 | https://github.com/actuallymentor/battery/ |
| 仓库 | https://github.com/actuallymentor/battery |
| 上游文档 | https://github.com/actuallymentor/battery/ |
| 源码归档 | https://github.com/actuallymentor/battery/releases/download/v1.4.0/battery-1.4.0-mac-arm64.zip |
| SHA-256 | 4510a3c3fc772f57a1a7fa595604002458120b55b83364edb98b762d4e19ab14 |
| Bottle | 未记录 |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew cask API |
|---|---|
| Tap | homebrew/cask |
| Full Token | battery |
| Names |
|
| Depends On | |
| Artifacts | |
| Auto Updates | yes |
| Deprecated | no |
| Disabled | no |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.