https://github.com/chrisinick/ideapad-mode
Bash script for controlling the battery and cooling of the Lenovo Ideapad 5 on Linux
https://github.com/chrisinick/ideapad-mode
bash energy-management lenovo-ideapad
Last synced: 2 months ago
JSON representation
Bash script for controlling the battery and cooling of the Lenovo Ideapad 5 on Linux
- Host: GitHub
- URL: https://github.com/chrisinick/ideapad-mode
- Owner: chrisinick
- License: gpl-3.0
- Created: 2021-07-30T11:14:31.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T18:40:02.000Z (over 1 year ago)
- Last Synced: 2024-03-29T19:40:47.772Z (over 1 year ago)
- Topics: bash, energy-management, lenovo-ideapad
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ideapadmode
**Control the battery and system performance mode of the Lenovo IdeaPad 5 14are05 on Linux**
## Features
- Set system performance modes: intelligent, extreme, battery saving
- Enable/disable rapid charge
- Enable/disable battery conservation## Installation
### 1. Dependencies
- bash
- acpi_call (or acpi_call-lts for LTS kernel, acpi_call-dkms for other kernels)Type `uname -r` to find out which kernel you are using.
### 2. Download & Setup
```bash
git clone --depth=1 https://github.com/chrisinick/ideapad-mode.git
cd ideapad-mode
chmod u+x ideapadmode.sh
```Optionally, add ideapadmode.sh to PATH to use it from anywhere in the shell.
## Usage
### Show Current Status
```bash
sudo ./ideapadmode.sh status
```
### Set System Performance Mode```bash
sudo ./ideapadmode.sh performance intelligent|extreme|battery
```### Enable/Disable Rapid Charge
```bash
sudo ./ideapadmode.sh rapidcharge on|off
```### Enable/Disable Battery Conservation
```bash
sudo ./ideapadmode.sh batterycon on|off
```
## Resource[ArchWiki Lenovo IdeaPad 5 14are05](https://wiki.archlinux.org/title/Lenovo_IdeaPad_5_14are05)
## License
Licensed under the [GPLv3](https://github.com/chrisinick/ideapad-mode/blob/master/LICENSE.txt) License.