Ideapad Conservation Mode Save Abandoned

A script to enable/disable battery conservation mode in Lenovo Ideapad laptops.

Project README

Lenovo Ideapad battery conservation mode on GNU/Linux

made-with-bash Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. HitCount start with why

ideapad-cm-screencast.gif

A script to enable/disable battery conservation mode in Lenovo Ideapad laptops. :computer: :battery: :guardsman:

Motivation

When the conservation mode is enabled, your battery will only be charged to 60% to maximize its lifespan. On Windows, Lenovo Vantage is usually used to enable this mode. On GNU/Linux, this can be done manually. This script is a shortcut to enable/disable this mode.

Installation (Arch User Repository) AUR version

ideapad-cm is available in the Arch User Repository (AUR). The following command installs ideapad-cm using yay AUR helper.

yay -S ideapad-cm

Installation (Arch Linux)

If you use Arch Linux, then you can use the bundled PKGBUILD file to build and install this script.

git clone https://github.com/tildehacker/ideapad-conservation-mode.git
cd "ideapad-conservation-mode"
makepkg
sudo pacman -U *.tar.xz

Installation

Clone this repository to a directory of your choice and add it to your PATH environment variable.

Clone

git clone https://github.com/tildehacker/ideapad-conservation-mode.git

Add it to PATH

Adjust .bashrc according to your current shell.

echo "export PATH=\$PATH:$( pwd )" >> ~/.bashrc

Usage

Usage:
	ideapad-cm enable|disable|status [acpi_call|ideapad_laptop]

Contributing PRs Welcome

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License License: GPL v3

This project is licensed under the GPL-3.0 License - see the LICENSE file for details.

Open Source Agenda is not affiliated with "Ideapad Conservation Mode" Project. README Source: tildehacker/ideapad-conservation-mode

Open Source Agenda Badge

Open Source Agenda Rating