Battery is a small utility for Mac laptops that manages when the battery charges. It is aimed at people who keep their laptop plugged in most of the time and want to limit wear on the battery. The source describes it as an app for managing battery charging.
The source code is public on GitHub, so the app can be inspected and built by anyone. It is installed through Homebrew and runs on macOS only. On first use it also installs a command line tool. The facts do not state a price or license, so none is listed here.
Alternatives to Battery
Products that do a similar job in System & Customization.
coconutBattery
Battery health and charge information for Mac laptops and devices
AlDente
Menu bar tool that caps how far a Mac battery charges
Stats
Menu bar system monitor for macOS
Rectangle
Keyboard-driven window moving and resizing for macOS
Mole
Open-source cleaner for freeing disk space on Mac and PC
XQuartz
Open-source X Window System server for macOS
Karabiner Elements
Keyboard remapping utility for macOS
Hammerspoon
Desktop automation for macOS driven by Lua scripts