summaryrefslogtreecommitdiffstats
path: root/src/sleep (follow)
Commit message (Expand)AuthorAgeFilesLines
* sleep: clear EFI HibernateLocation if writing kernel config failsMike Yuan2023-08-131-1/+5
* meson: move declarations of ac-power, detect-virt, sysctl, and sleepYu Watanabe2023-08-011-0/+13
* sleep: don't init /sys/power/resume if 'resume=' option is missing and EFI is...Franck Bui2023-07-271-4/+6
* sleep: fix unused variable warningLuca Boccassi2023-07-101-3/+2
* sleep: refuse hibernation if there's no possible way to resumeMike Yuan2023-06-261-8/+9
* sleep: write hibernate location to efivar HibernateLocationMike Yuan2023-06-231-2/+86
* sleep: always write resume_offset if possibleMike Yuan2023-06-231-42/+7
* sleep: rename sleep-config.[ch] → sleep-util.[ch]Lennart Poettering2023-06-201-1/+1
* sleep-config: rename .device field to .pathLennart Poettering2023-06-201-5/+5
* sleep-config: replace SwapEntry's .type field with a proper enumLennart Poettering2023-06-201-5/+3
* battery-util: move battery_is_discharging_and_low() to battery-util.[ch]Lennart Poettering2023-06-051-0/+1
* sleep: convert a home1.Manager call to BusLocatorDavid Tardon2023-05-241-7/+1
* tre-wide: use FORMAT_DEVNUM() a bit moreLennart Poettering2023-04-211-2/+4
* sleep: fix default values unmatched with manualMike Yuan2023-03-171-1/+4
* sleep: check if we're on AC power before checking battery capacityMike Yuan2023-02-211-1/+1
* sleep: use shared constant for freeze timeoutZbigniew Jędrzejewski-Szmek2023-02-201-2/+1
* sleep: coding style fixletsYu Watanabe2023-01-271-2/+2
* sleep: introduce SuspendEstimationSec=Yu Watanabe2023-01-272-15/+36
* sleep: drop unnecessary temporal vaiable and initializationYu Watanabe2023-01-261-5/+6
* sleep: fetch_batteries_capacity_by_name() does not return -ENOENTYu Watanabe2023-01-261-13/+13
* sleep: rename hibernate_delay_sec -> _usecYu Watanabe2023-01-261-1/+1
* sleep: fix memleakZbigniew Jędrzejewski-Szmek2023-01-231-1/+1
* sleep: reduce double logging and improve messages and comments a bitZbigniew Jędrzejewski-Szmek2023-01-231-1/+2
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-1/+1
* core/sleep: set timeout for freeze/thaw operation to 1.5 secondsmsizanoen12022-12-081-0/+3
* sleep: always thaw user.slice even if freezing failedmsizanoen12022-12-081-3/+1
* Rename def.h to constants.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* basic: move version() to build.h+cZbigniew Jędrzejewski-Szmek2022-11-081-1/+1
* sleep: freeze and thaw user.slice to save resource while suspendSonali Srivastava2022-08-261-0/+31
* sleep: support acpi_btp and suspend system if enabled, skipping custom timerSonali Srivastava2022-08-231-1/+49
* sleep: support multiple battery instead of only BAT0Sonali Srivastava2022-08-091-39/+25
* tree-wide: fix typoYu Watanabe2022-08-011-1/+1
* sleep: store battery discharge rate/hour with hashSonali Srivastava2022-07-201-1/+20
* sleep: use current charge level to decide suspensionSonali Srivastava2022-07-201-28/+63
* Update sleep.conf HibernateDelaySec default to match implementationRichard Huang2022-07-181-1/+1
* tree-wide: Remove the repeated ';' from code (#23901)Li kunyu2022-07-051-1/+1
* tree-wide: add a space after if, switch, for, and whileYu Watanabe2022-04-011-1/+1
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-2/+0
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-1/+1
* tree-wide: add FORMAT_TIMESPAN()Zbigniew Jędrzejewski-Szmek2021-07-091-3/+2
* sleep: clarify that failure setting env var is not fatalLennart Poettering2021-05-221-1/+1
* sleep: if hybrid sleep fails, do regular suspendLennart Poettering2021-05-221-4/+26
* sleep: remove duplicate loggingLennart Poettering2021-05-221-2/+2
* sleep: use SleepOperation enum everywhere and drop sleep_settings()Lennart Poettering2021-05-221-33/+46
* fix: point to the correct drop-ins subdirectory for confsJóhann B. Guðmundsson2021-04-221-1/+1
* Do not try to return 0 from log_debug()Zbigniew Jędrzejewski-Szmek2021-04-141-4/+4
* Recommend drop-ins over modifications to the main config fileZbigniew Jędrzejewski-Szmek2021-02-191-8/+9
* tree-wide: enable colorized logging for daemons when run in consoleYu Watanabe2021-01-311-1/+1
* tree-wide: Drop custom formatting for print() help messagesDaan De Meyer2021-01-311-4/+3
* systemd-sleep: Set SYSTEMD_SLEEP_ACTION for systemd-sleep hooks.Zach Smith2021-01-091-5/+9