summaryrefslogtreecommitdiffstats
path: root/src/battery-check (follow)
Commit message (Collapse)AuthorAgeFilesLines
* battery-check: allow to skip by passing systemd.battery-check=0Yu Watanabe2023-07-141-0/+30
|
* battery-check: several follow-upsYu Watanabe2023-06-291-53/+76
| | | | | | | | | | | | | | | | | | Follow-ups for e3d4148d50909119c4e9327e6ad96d3ca7f4661a. - add reference to initrd-battery-check.service in man page, and move its section from 1 to 8, - add link to man page in help message, - introduce ERRNO_IS_NO_PLYMOUTH(), - propagate error in battery_check_send_plymouth_message(), - rename battery_check_send_plymouth_message() -> plymouth_send_message(), - return earlier when the first battery level check passed to reduce indentation, - fix potential use of invalid fd on battery restored, - do not use emoji for /dev/console, - add simple test (mostly for coverity), etc, etc...
* PID1: detect battery level in initrd and if low refuse continuing to boot, ↵OMOJOLA JOSHUA2023-06-281-0/+157
print message and shut down.