summaryrefslogtreecommitdiff
path: root/src/sleep
Commit message (Expand)AuthorAgeFilesLines
* tre-wide: use FORMAT_DEVNUM() a bit moreLennart Poettering2023-04-211-2/+4
* sleep: fix default values unmatched with manualMike Yuan2023-03-181-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-021-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-02-011-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
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* sleep: reword some debug messagesZbigniew Jędrzejewski-Szmek2020-09-081-5/+4
* various: treat BUS_ERROR_NO_SUCH_UNIT the same as SD_BUS_ERROR_SERVICE_UNKNOWNZbigniew Jędrzejewski-Szmek2020-08-241-5/+2
* sleep: one spelling unificationZbigniew Jędrzejewski-Szmek2020-07-071-1/+1
* sleep: pass error we see to log functionLennart Poettering2020-06-111-2/+5
* sleep: clean up debug/error loggingLennart Poettering2020-06-111-3/+5
* tree-wide: port to fd_wait_for_event()Lennart Poettering2020-06-101-18/+9
* tree-wide: check POLLNVAL everywhereLennart Poettering2020-06-101-0/+3
* sleep: automatically lock all home directories when suspendingLennart Poettering2020-01-281-1/+46
* systemd-sleep: always attempt hibernation if configuredZach Smith2020-01-051-7/+8
* tree-wide: drop stdio.h when stdio-util.h is includedYu Watanabe2019-11-041-1/+0
* systemd-sleep: always prefer resume device or fileZach Smith2019-10-241-81/+30