diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-05 12:12:03 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-05 12:20:41 +0200 |
commit | c41e3605ec2f5c1d3040aa3a5fd57b9aee08c198 (patch) | |
tree | a745fd51d1ae482589995fa4766e610624b1f6e0 /src/getty-generator | |
parent | battery-util: move battery_is_discharging_and_low() to battery-util.[ch] (diff) | |
download | systemd-c41e3605ec2f5c1d3040aa3a5fd57b9aee08c198.tar.xz systemd-c41e3605ec2f5c1d3040aa3a5fd57b9aee08c198.zip |
battery-util: be more careful when determining whether we are in a low battery state
Let's avoid assuming a low battery battery state if in doubt. That
means, handle errors reading battery state gracefully.
Diffstat (limited to 'src/getty-generator')
0 files changed, 0 insertions, 0 deletions