powercontrol
1.0.0
Tested on the Ideapad 14ARE05 Ryzen 7 4700U (Should work on the Ideapad 14ARE05, 15ARE05 models).
Built using information from the Arch Wiki
- POWERCONTROL ----------
Shell script to control power and battery settings on the Lenovo IdeaPad 14ARE05, 15ARE05.
Usage:
powercontrol [OPTIONS]
Options:
-i, --info Display current power mode and battery status
-r, --rapid-charge Toggle Rapid Charge
-c, --battery-conserve Toggle Battery Conservation (Doesn't charge >60%)
-m, --mode [value] Switch power mode, values:
1 - Battery Saving, 2 - Intelligent Cooling, 3 - Extreme Performance
-h, --help View this help page
First install acpi_call (or acpi_call-lts for LTS kernel, acpi_call-dkms for other kernels) and load the kernel module using: sudo modprobe acpi_call
Clone the repository and navigate to the directory git clone https://github.com/shaansubbaiah/powercontrol.git && cd powercontrol
Make script executable: chmod +x powercontrol.sh
Run: ./powercontrol.sh
Comes with ABSOLUTELY NO WARRANTY, LIABILITY if your device gets damaged. Obviously. MIT.