Lenovo-IdeaPad-Conservation.../README.md

14 lines
466 B
Markdown

# 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