github charlie0129/batt v0.3.7

one day ago

What's Changed

  • Allow charging to be enabled immediately when setting a new limit (if current charge is below the limit).
  • Reduced delay to enable charging after batt is stopped by macOS from 120s to 60s.

How to Install

Option 1: Installation Script (Recommended)

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)

Option 2: Homebrew (If you prefer Homebrew)

brew install batt
sudo brew services start batt

How to Upgrade

Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts. If you don't remember how you installed it, you can check the binary location by running which batt. If it is in /usr/local/bin, you probably used the installation script. If it is in /opt/homebrew/bin, you probably used Homebrew.

Option 1: Installation Script

bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.

Option 2: Homebrew

brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt

Compatibility

Upgrading to this version should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0 or build it by yourself.

Don't miss a new batt release

NewReleases is sending notifications on new releases.