Go to file
Santiago Lo Coco 0c58b2c27d Read before writing smc 2024-04-10 14:09:05 +02:00
.visudo Fix more bugs 2024-03-17 15:48:33 +01:00
LICENSE.md Add LICENSE.md 2024-04-10 12:29:36 +02:00
Makefile Fix PATH bugs 2024-04-09 23:43:32 +02:00
README.md Add initial files 2024-03-17 14:00:07 +01:00
cbattery Read before writing smc 2024-04-10 14:09:05 +02:00
cbattery.plist Fix more and more bugs 2024-04-10 11:56:11 +02: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.