diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-05 11:49:35 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-05 12:18:21 +0200 |
commit | af4e8e86ec91389a04df2b1b8621c0ad5c84917b (patch) | |
tree | 14fe71addd6fa8acaeadd9ec0954922551b12ab9 /src/login | |
parent | add support for KSM (diff) | |
download | systemd-af4e8e86ec91389a04df2b1b8621c0ad5c84917b.tar.xz systemd-af4e8e86ec91389a04df2b1b8621c0ad5c84917b.zip |
battery-util: split out code that checks AC power state into its own .c/.h pair
No code change, just some splitting out of the relevant code from
udev-util.[ch].
This makes sense on its own, but is also prepartion to move the code
that checks for low battery state into battery-util.[ch], too.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/logind-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-core.c b/src/login/logind-core.c index dd4b246893..df67e5509b 100644 --- a/src/login/logind-core.c +++ b/src/login/logind-core.c @@ -8,6 +8,7 @@ #include "sd-device.h" #include "alloc-util.h" +#include "battery-util.h" #include "bus-error.h" #include "bus-locator.h" #include "bus-util.h" |