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/ac-power | |
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/ac-power')
-rw-r--r-- | src/ac-power/ac-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ac-power/ac-power.c b/src/ac-power/ac-power.c index 853635047d..62181a83df 100644 --- a/src/ac-power/ac-power.c +++ b/src/ac-power/ac-power.c @@ -2,9 +2,9 @@ #include <getopt.h> +#include "battery-util.h" #include "build.h" #include "main-func.h" -#include "udev-util.h" static bool arg_verbose = false; |