Very simple CLI script to enable/disable conservation mode on Lenovo IdeaPads laptops in Linux.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Beatrice 0b4c57a068
Update 'README.md'
10 months ago
README.md Update 'README.md' 10 months ago
cons.sh Move 'cons' to 'cons.sh' 10 months ago

README.md

Lenovo IdeaPad Conservation Mode (Linux)

This is a simple Bash script to allow you to quickly enable, disable or check "Conservation Mode"'s status on Linux. Conservation mode limits battery charge to 60%.

Installation

  1. Download cons.sh from this repo;
  2. run chmod +x cons.sh to make it executable;
  3. run the file with an argument sudo ./cons.sh <arg>.

Arguments

Supported arguments are:

  • 0: disable
  • 1: enable
  • 2: print status