|
||
---|---|---|
.visudo | ||
LICENSE.md | ||
Makefile | ||
README.md | ||
cbattery | ||
cbattery.plist |
README.md
cbattery
cbattery is a script for managing battery-related settings on Apple Silicon systems.
Installation
You can install cbattery
using Homebrew:
brew tap santilococo/cmtap
brew install santilococo/cbattery
This will also install the necessary smc
dependency.
Usage
Once installed, you can use cbattery
to manage battery-related settings on your M1 system. Here are some common commands:
- Toggle charging:
cbattery charging [on|off]
- Toggle adapter connection:
cbattery adapter [on|off]
- Get status information:
cbattery status
For more information on available commands, you can use the help
command:
cbattery help
Uninstallation
To uninstall cbattery
from your system:
brew uninstall cbattery
Contributing
If you encounter any issues with cbattery
or would like to contribute to its development, please feel free to open an issue or submit a pull request on the GitHub repository. We welcome any feedback or contributions!
License
This project is licensed under the GPL-2.0 License - see the LICENSE file for details.