]> git.ipfire.org Git - thirdparty/systemd.git/commit
sleep-util: split battery-capacity into sleep/
authorMike Yuan <me@yhndnzj.com>
Wed, 27 Sep 2023 13:35:19 +0000 (21:35 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 27 Sep 2023 13:48:39 +0000 (21:48 +0800)
commit7d769198e01e4497f4ac7947bbfc0844c444fb47
tree6b3ed39202a71b03b41a36465c87481fd9a62f8d
parent43309f14d95da0e7f27e28dbed5e8fa31b513b3f
sleep-util: split battery-capacity into sleep/

This is only used by sleep.c. Let's start shrinking down
the "mixed" sleep-util.
src/shared/sleep-util.h
src/sleep/battery-capacity.c [new file with mode: 0644]
src/sleep/battery-capacity.h [new file with mode: 0644]
src/sleep/meson.build
src/sleep/sleep.c
src/sleep/test-battery-capacity.c [new file with mode: 0644]
src/test/test-sleep.c