table of contents
- bookworm-backports 254.16-1~bpo12+1
- testing 256.7-3
- unstable 257~rc2-3
SYSTEMD-BATTERY-CHECK.SERVICE(8) | systemd-battery-check | SYSTEMD-BATTERY-CHECK.SERVICE(8) |
NAME¶
systemd-battery-check.service, systemd-battery-check - Check battery level whether there's enough charge, and power off if not.
SYNOPSIS¶
systemd-battery-check.service
/lib/systemd/systemd-battery-check [OPTIONS...]
DESCRIPTION¶
systemd-battery-check.service is used to check the battery level during the early boot stage to determine whether there's sufficient battery power to carry on with the booting process.
systemd-battery-check returns success if the device is connected to an AC power source or if the battery charge is greater than 5%. It returns failure otherwise.
OPTIONS¶
The following options are understood by systemd-battery-check:
-h, --help
--version
EXIT STATUS¶
On success (running on AC power or battery capacity greater than 5%), 0 is returned, a non-zero failure code otherwise.
KERNEL COMMAND LINE¶
The following variables are understood:
systemd.battery-check=BOOL
SEE ALSO¶
systemd 254 |