App for managing battery charging. (Also installs a CLI on first use.)
brew install --cask battery
battery