summaryrefslogtreecommitdiffstats
path: root/src/shared/sleep-config.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* sleep: add HibernateOnACPower= option (#33846)Marc Reisner2024-08-051-0/+1
* hibernate-util,logind: also differentiate the case of misconfigured resumeMike Yuan2024-05-081-0/+1
* hibernate-util,logind: emit a clear error if the specified resume dev is missingMike Yuan2024-05-081-0/+1
* sleep: add SleepMemMode= setting for configuring /sys/power/mem_sleepMike Yuan2024-03-281-1/+15
* sleep-config: make sleep_mode_supported take a pathMike Yuan2024-03-281-2/+2
* sleep-config: make sleep_operation_is_hibernation uppercaseMike Yuan2024-03-281-1/+1
* sleep: introduce sleep_operation_is_hibernationMike Yuan2023-10-271-0/+4
* hibernate-util: introduce hibernation_is_safeMike Yuan2023-10-201-0/+1
* sleep-config: introduce sleep_supported_full that returns a reasonMike Yuan2023-10-201-1/+13
* sleep-config: minor cleanup for can_sleep_{state,disk}Mike Yuan2023-10-201-4/+4
* sleep-config: add explanatory comment on "modes"Mike Yuan2023-09-271-1/+2
* sleep-config: several cleanupsMike Yuan2023-09-271-7/+13
* sleep-util: split into sleep-config and hibernate-utilMike Yuan2023-09-271-0/+35
* sleep: rename sleep-config.[ch] → sleep-util.[ch]Lennart Poettering2023-06-201-82/+0
* sleep-config: rename .device field to .pathLennart Poettering2023-06-201-1/+1
* sleep-config: replace SwapEntry's .type field with a proper enumLennart Poettering2023-06-201-1/+8
* battery-util: move battery_is_discharging_and_low() to battery-util.[ch]Lennart Poettering2023-06-051-1/+0
* sleep: check if we're on AC power before checking battery capacityMike Yuan2023-02-211-1/+1
* sleep: introduce SuspendEstimationSec=Yu Watanabe2023-01-271-0/+3
* sleep: rename hibernate_delay_sec -> _usecYu Watanabe2023-01-261-1/+1
* test-sleep: add a very simple test that prints battery suspend estimatesZbigniew Jędrzejewski-Szmek2023-01-231-0/+1
* sleep: support acpi_btp and suspend system if enabled, skipping custom timerSonali Srivastava2022-08-231-0/+2
* sleep: support multiple battery instead of only BAT0Sonali Srivastava2022-08-091-3/+9
* sleep: store battery discharge rate/hour with hashSonali Srivastava2022-07-201-0/+2
* sleep: use current charge level to decide suspensionSonali Srivastava2022-07-201-0/+2
* sleep: use SleepOperation enum everywhere and drop sleep_settings()Lennart Poettering2021-05-221-16/+5
* sleep: introduce high-level SleepOperation enumLennart Poettering2021-05-221-0/+12
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* sleep-config: modernize destructorsLennart Poettering2020-06-111-1/+1
* systemd-sleep: always attempt hibernation if configuredZach Smith2020-01-061-2/+2
* systemd-sleep: always prefer resume device or fileZach Smith2019-10-241-1/+26
* systemd-sleep: use swaps in priority orderZach Smith2019-07-291-1/+1
* systemd-sleep: refactor sleep config parsingZach Smith2019-05-301-1/+22
* shared/sleep-config: add switches to kill specific sleep modesZbigniew Jędrzejewski-Szmek2018-10-081-1/+1
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-141-4/+0
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* Merge pull request #8676 from keszybz/drop-license-boilerplateLennart Poettering2018-04-101-13/+0
|\
| * tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* | sleep: Add support for setting a disk offset when hibernatingMario Limonciello2018-04-091-0/+3
|/
* Introduce suspend-to-hibernate (#8274)Mario Limonciello2018-03-081-1/+3
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* tree-wide: place #pragma once at the same place everywhereLennart Poettering2016-02-201-2/+2
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* #pragma once here and thereZbigniew Jędrzejewski-Szmek2015-01-231-0/+2
* systemd-sleep: add support for freeze and standbyZbigniew Jędrzejewski-Szmek2013-05-061-0/+26