]> git.ipfire.org Git - thirdparty/systemd.git/commit
Introduce suspend-to-hibernate (#8274)
authorMario Limonciello <superm1@gmail.com>
Thu, 8 Mar 2018 13:17:33 +0000 (21:17 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 8 Mar 2018 13:17:33 +0000 (14:17 +0100)
commitc58493c00af97146d3b6c24da9c0371978124703
treeeef8dce2e68194b33df3faec0631bee8543a175b
parentfc17f194ded93b51899aa0bbd4e66870d975fe5a
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>
20 files changed:
man/logind.conf.xml
man/rules/meson.build
man/systemd-sleep.conf.xml
man/systemd-suspend.service.xml
man/systemd.special.xml
shell-completion/bash/systemctl.in
shell-completion/zsh/_systemctl.in
src/basic/special.h
src/login/logind-action.c
src/login/logind-action.h
src/login/logind-dbus.c
src/login/org.freedesktop.login1.conf
src/shared/sleep-config.c
src/shared/sleep-config.h
src/sleep/sleep.c
src/systemctl/systemctl.c
src/test/test-sleep.c
units/meson.build
units/suspend-to-hibernate.target [new file with mode: 0644]
units/systemd-suspend-to-hibernate.service.in [new file with mode: 0644]