https://github.com/stellarsand/asuschargeguard
Limit the maximum power of RSOC to extend the battery's lifespan on ASUS laptops.
https://github.com/stellarsand/asuschargeguard
asus asus-laptop bash bash-script battery battery-level battery-monitor linux scipts script shell-script terminal terminal-based
Last synced: 3 months ago
JSON representation
Limit the maximum power of RSOC to extend the battery's lifespan on ASUS laptops.
- Host: GitHub
- URL: https://github.com/stellarsand/asuschargeguard
- Owner: StellarSand
- License: mit
- Created: 2023-02-09T20:28:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-09T20:39:10.000Z (over 3 years ago)
- Last Synced: 2024-12-30T17:46:19.246Z (over 1 year ago)
- Topics: asus, asus-laptop, bash, bash-script, battery, battery-level, battery-monitor, linux, scipts, script, shell-script, terminal, terminal-based
- Language: Shell
- Homepage: https://www.asus.com/us/support/FAQ/1032726
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ASUS Charge Guard
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](https://www.asus.com/us/support/FAQ/1032726) feature offered by ASUS for Windows systems.
## Contents
- [Installation](#installation)
- [Available profiles](#available-profiles)
- [Usage](#usage)
- [Uninstall](#uninstall)
- [Contributing](#contributing)
- [License](#license)
## Installation
**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
```
## Available profiles
Three default profiles are provided similar to the [Battery Health Charging](https://www.asus.com/us/support/FAQ/1032726) feature:
- full (100)
- balanced (80)
- maxlife (60)
## Usage
```
sudo acg
```
**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.
## Uninstall
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
```
## Contributing
Pull requests can be submitted [here](https://github.com/the-weird-aquarian/AsusChargeGuard/pulls). Any contribution to the project will be highly appreciated.
## License
This project is licensed under the terms of [MIT License](https://github.com/the-weird-aquarian/AsusChargeGuard/blob/main/LICENSE).