ASUS Charge Guard provides a simple and efficient solution to set your battery's maximum power of RSOC (Relative State Of Charge) which helps extend the battery's lifespan on ASUS laptops.
This project provides a GNU/Linux alternative to the Battery Health Charging feature offered by ASUS for Windows systems.
1. Clone this repo:
git clone https://github.com/the-weird-aquarian/AsusChargeGuard.git
2. Move into the project directory:
cd AsusChargeGuard
3. Give executable permissions to the install script:
chmod +x install.sh
4. Run the install script:
./install.sh
Three default profiles are provided similar to the Battery Health Charging feature:
- full (100)
- balanced (80)
- maxlife (60)
sudo acg <threshold>
Examples:
sudo acg balanced
sudo acg 60
NOTE: It is recommended to use built in profiles (full, balanced, maxlife). Custom thresholds are supported, however they will only work if it's supported by the laptop itself.
If AsusChargeGuard has been installed, you can remove it by:
1. Clone this repo (if not done already):
git clone https://github.com/the-weird-aquarian/AsusChargeGuard.git
2. Move into the project directory:
cd AsusChargeGuard
3. Give executable permissions to the uninstall script:
chmod +x uninstall.sh
4. Run the uninstall script:
./uninstall.sh
Pull requests can be submitted here. Any contribution to the project will be highly appreciated.
This project is licensed under the terms of MIT License.