summaryrefslogtreecommitdiffstats
path: root/src/ac-power
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-05 11:56:31 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-05 12:19:32 +0200
commit319c46483e3eb1a3c33a3ca97b90ba13c3987da1 (patch)
tree14ac66b6fe0f3d79b803c1cbdd6a280bad55f75c /src/ac-power
parentbattery-util: split out code that checks AC power state into its own .c/.h pair (diff)
downloadsystemd-319c46483e3eb1a3c33a3ca97b90ba13c3987da1.tar.xz
systemd-319c46483e3eb1a3c33a3ca97b90ba13c3987da1.zip
battery-util: move battery_is_discharging_and_low() to battery-util.[ch]
This moves a first batch of functions from sleep-config.[ch] over to battery-util.[ch]. In the long run we should probably move even more stuff over, i.e. anything that deals with the battery sysfs driver interface. No code change.
Diffstat (limited to 'src/ac-power')
0 files changed, 0 insertions, 0 deletions