smbios-battery-ctl1
../src/bin/smbios-battery-ctl
Usage
smbios-battery-ctl
Options
-
--version -
show program's version number and exit
-
-h, --help -
show this help message and exit
-
-v, --verbose -
Display more verbose output.
-
-q, --quiet -
Minimize program output. Only errors and warnings are displayed.
-
--trace -
Enable verbose function tracing.
-
--logconfig=LOGCONFIG -
Specify alternate config log.
-
--security-key=SECURITY_KEY -
BIOS pre-calculated security key.
-
--password=PASSWORD -
BIOS Setup password for set/activate operations.
-
-r, --rawpassword -
Do not auto-convert password to scancodes.
-
--memory-dat=MEMORY_DAT -
Path to a memory dump file to use instead of real RAM
-
--cmos-dat=CMOS_DAT -
Path to a CMOS dump file to use instead of real CMOS
-
-c, --battery-charge -
This will get the Current Battery Charging State
-
--get-charging-cfg -
Get the current Primary Battery Charge Configuration
-
--set-charging-mode=<MODE> -
Set the current Primary Battery Charge Configuration. Valid choices are: ['primarily_ac', 'adaptive', 'custom', 'standard', 'express']
--set-custom-charge-interval=<START> <END>-
Set the percentage bounds for custom charge. Both must be integers. START must lie in the range [50, 95], END must lie in the range [55, 100], END must be at least (START + 5)
History
- Arch Linux 2026-11-01: the text shown here
- Debian 12 (Bookworm) to Debian 11 (Bullseye)
- Debian 10 (Buster)
--get-charging-cfg since Debian 11 (Bullseye);
--set-charging-mode since Debian 11 (Bullseye).