Crates.io | batmanager |
lib.rs | batmanager |
version | 1.0.2 |
source | src |
created_at | 2023-06-03 01:50:47.080262 |
updated_at | 2023-06-04 23:05:51.024176 |
description | Tool for configuring Lenovo battery settings |
homepage | |
repository | |
max_upload_size | |
id | 881315 |
size | 20,519 |
Tool for configuring Lenovo battery settings. Based on battmgr
.
Usage: batmanager [OPTIONS]
Options:
-c, --conservation [<on/off>] get or set the conservation mode [possible values: on, off]
-r, --rapid [<on/off>] get or set the rapid charing mode [possible values: on, off]
-p, --performance [<1/2/3>] get or set the performance mode [possible values: "intelligent-cooling (1)", "extreme-performance (2)", "battery-saving (3)"]
-h, --help Print help
-V, --version Print version
Read current configuration: batmanager
Read performance mode: batmanager -p
Turn on conservation mode: batmanager -c on
Turn off rapid charge mode: batmanager -r off
Turn conservation mode off, rapid charge on and set performance mode to "Intelligent Cooling" : batmanager -c0 -r1 -p1
This tool relies on the acpi_call kernel module.
cargo install batmanager
paru -S batmanager