Battery Management for Lenovo Ideapads (tested on Lenovo G570: Ubuntu 19.04, Fedora 31)
-
Debian/Ubuntu:
sudo apt install acpi-call-dkms
-
Fedora:
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm sudo dnf install http://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm sudo dnf install acpi_call
-
OpenSUEE: download and run (doubleclick) .yml file from: the acpi-call kernel module page
download this script:
wget https://github.com/BorysVrublevskyi/LenovoPowerManagementLinux/raw/master/battery_management.sh
Allow system to run it:
chown +x battery_management.sh
Run it:
sudo ./battery_management.sh
Avalaible options:
-
Enable "Battery Protection Mode" (Charge level about 50~70% depending of laptop model). Select this when You working on AC power to protect battery from degradation.
-
Enable "Battery Fully Charged Mode" (Charge level 100%). Select this when You going to work from battery power.
-
Start Battery Calibration. WARNING! This may damage your battery! Laptop must be conected to the power supply! Battery will fully charge, then it will completely discharge. Then the calibration will end, and the battery will recharge.
-
Stop Battery Calibration. WARNING! This may damage your battery!
Read the menu items carefully. You are solely responsible for the results of your actions.