Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makifdb/lenopow
A script to enable/disable battery conservation mode in Lenovo Ideapad/LEGION notebooks.
https://github.com/makifdb/lenopow
battery-life lenovo shell
Last synced: 18 days ago
JSON representation
A script to enable/disable battery conservation mode in Lenovo Ideapad/LEGION notebooks.
- Host: GitHub
- URL: https://github.com/makifdb/lenopow
- Owner: makifdb
- License: unlicense
- Created: 2022-01-21T11:21:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-26T17:52:43.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T19:52:35.073Z (4 months ago)
- Topics: battery-life, lenovo, shell
- Language: Shell
- Homepage: https://aur.archlinux.org/packages/lenopow/
- Size: 5.86 KB
- Stars: 22
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lenopow
> Lenovo Ideapad/LEGION battery conservation mode on Manjaro Linux
**lenopow** allows managing Lenovo Ideapad's/LEGION's firmware on the battery
and shifts between the usual charging thresholds from 95/100% to 55/60%.
In some cases, not charging the battery to 100% constantly may improve
the overall lifespan of the battery. This setting is suggested for a system
that is always plugged into the AC adapter.## Instalation
The standard `make install` routine is used.
The following additional variables are supported:
- `DESTDIR` -- determines environment for staged installs,
- `PREFIX` -- determines where the script will be installed (default: `/usr/local`).## Requirements
The script requires the following to run:
- `bash`
- `linux >= 4.14`## Usage
Run: `lenopow [operation]`
| Operation | Description |
| :---------------- | :----------------------------------------------- |
| `-h`, `--help` | Show help message. |
| `-v`, `--version` | Show script version. |
| `-s`, `--status` | Show battery protection status. |
| `-e`, `--enable` | Enable battery protection (charge level 55-60%). |
| `-d`, `--disable` | Disable battery protection (charge level 100%). |## License
This simple wrapper script, with a definitely too big name, is licensed under the Unlicense - see the [LICENSE](LICENSE) file for details.