diff options
author | Mario Limonciello <superm1@gmail.com> | 2018-03-08 14:17:33 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-03-08 14:17:33 +0100 |
commit | c58493c00af97146d3b6c24da9c0371978124703 (patch) | |
tree | eef8dce2e68194b33df3faec0631bee8543a175b /units/meson.build | |
parent | hwdb: add accelerometer mount matrix for Eve V (#8382) (diff) | |
download | systemd-c58493c00af97146d3b6c24da9c0371978124703.tar.xz systemd-c58493c00af97146d3b6c24da9c0371978124703.zip |
Introduce suspend-to-hibernate (#8274)
Suspend to Hibernate is a new sleep method that invokes suspend
for a predefined period of time before automatically waking up
and hibernating the system.
It's similar to HybridSleep however there isn't a performance
impact on every suspend cycle.
It's intended to use with systems that may have a higher power
drain in their supported suspend states to prevent battery and
data loss over an extended suspend cycle.
Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>
Diffstat (limited to 'units/meson.build')
-rw-r--r-- | units/meson.build | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/units/meson.build b/units/meson.build index 7f40464190..0bef71d82b 100644 --- a/units/meson.build +++ b/units/meson.build @@ -36,6 +36,7 @@ units = [ ['halt.target', ''], ['hibernate.target', 'ENABLE_HIBERNATE'], ['hybrid-sleep.target', 'ENABLE_HIBERNATE'], + ['suspend-to-hibernate.target', 'ENABLE_HIBERNATE'], ['initrd-fs.target', ''], ['initrd-root-device.target', ''], ['initrd-root-fs.target', ''], @@ -155,6 +156,7 @@ in_units = [ ['systemd-hibernate-resume@.service', 'ENABLE_HIBERNATE'], ['systemd-hibernate.service', 'ENABLE_HIBERNATE'], ['systemd-hybrid-sleep.service', 'ENABLE_HIBERNATE'], + ['systemd-suspend-to-hibernate.service', 'ENABLE_HIBERNATE'], ['systemd-hostnamed.service', 'ENABLE_HOSTNAMED', 'dbus-org.freedesktop.hostname1.service'], ['systemd-hwdb-update.service', 'ENABLE_HWDB', |