summaryrefslogtreecommitdiffstats
path: root/src/getty-generator
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-05 12:12:03 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-05 12:20:41 +0200
commitc41e3605ec2f5c1d3040aa3a5fd57b9aee08c198 (patch)
treea745fd51d1ae482589995fa4766e610624b1f6e0 /src/getty-generator
parentbattery-util: move battery_is_discharging_and_low() to battery-util.[ch] (diff)
downloadsystemd-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