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

14 lines
466 B
Markdown
Raw Permalink Normal View History

2022-05-31 00:55:12 +02:00
# Lenovo IdeaPad Conservation Mode (Linux)
2022-05-31 00:57:19 +02:00
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%.
2022-05-31 00:55:12 +02:00
## Installation
2022-05-31 00:55:33 +02:00
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>`.
2022-05-31 00:55:12 +02:00
## Arguments
Supported arguments are:
- 0: disable
- 1: enable
- 2: print status