Go to file
Santiago Lo Coco 6b037c1778 Fix Makefile bug 2024-03-17 14:48:57 +01:00
.visudo Add initial files 2024-03-17 14:00:07 +01:00
Makefile Fix Makefile bug 2024-03-17 14:48:57 +01:00
README.md Add initial files 2024-03-17 14:00:07 +01:00
cbattery Update Makefile and cbattery 2024-03-17 14:31:10 +01:00

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.