Skip to content

🔋 Shell script to control power and battery settings in Linux on the Lenovo IdeaPad 14ARE05, 15ARE05

License

Notifications You must be signed in to change notification settings

shaansubbaiah/powercontrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

🔋powercontrol

💻 Shell script to control power and battery settings on the Lenovo Ideapad

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

Get Started

  1. 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

  2. Clone the repository and navigate to the directory git clone https://github.com/shaansubbaiah/powercontrol.git && cd powercontrol

  3. Make script executable: chmod +x powercontrol.sh

  4. Run: ./powercontrol.sh

Comes with ABSOLUTELY NO WARRANTY, LIABILITY if your device gets damaged. Obviously. MIT.

About

🔋 Shell script to control power and battery settings in Linux on the Lenovo IdeaPad 14ARE05, 15ARE05

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages