summaryrefslogtreecommitdiffstats
path: root/src/sleep/sleep.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* 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
* Do not try to return 0 from log_debug()Zbigniew Jędrzejewski-Szmek2021-04-141-4/+4
* 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
* 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-061-7/+8
* tree-wide: drop stdio.h when stdio-util.h is includedYu Watanabe2019-11-031-1/+0
* systemd-sleep: always prefer resume device or fileZach Smith2019-10-241-81/+30
* systemd-sleep: refuse to calculate swapfile offset on BtrfsZach Smith2019-06-271-1/+9
* systemd-sleep: (bug) use resume_offset value if setZach Smith2019-06-271-2/+34
* sleep: properly pass verb to sleep scriptLennart Poettering2019-06-171-1/+5
* systemd-sleep: refactor sleep config parsingZach Smith2019-05-301-20/+17
* systemd-sleep: replace rtc wakealarm with CLOCK_BOOTTIME_ALARM s2hZach Smith2019-05-281-46/+26
* fix typo in partition device messageZach Smith2019-05-141-1/+1
* headers: remove unneeded includes from util.hZbigniew Jędrzejewski-Szmek2019-03-271-0/+5
* sleep: (void)ify some callLennart Poettering2019-03-261-2/+2
* core: Allow to configure execute_directories execution behaviorMatthias Klumpp2019-02-181-2/+2
* coccinelle: make use of SYNTHETIC_ERRNOZbigniew Jędrzejewski-Szmek2018-11-221-21/+17
* Split out pretty-print.c and move pager.c and main-func.h to shared/Zbigniew Jędrzejewski-Szmek2018-11-201-1/+1
* log: introduce new helper call log_setup_service()Lennart Poettering2018-11-201-3/+1
* util-lib: move main() definition macros to its own header fileLennart Poettering2018-11-191-0/+1
* sleep: define main through macroZbigniew Jędrzejewski-Szmek2018-11-171-9/+8
* tree-wide: set WRITE_STRING_FILE_DISABLE_BUFFER flag when we write files unde...Yu Watanabe2018-11-061-6/+8
* sleep: when we can't hibernate on suspend-then-hibernate, fall back to suspen...Lennart Poettering2018-10-241-1/+11
* sleep: rework what we do if a suspend fails.Lennart Poettering2018-10-241-6/+9
* sleep: no need to check for resume_offset twiceLennart Poettering2018-10-241-6/+5
* sleep: let's turn off the RTC alarm time ASAPLennart Poettering2018-10-241-7/+7
* sleep: round up when calculating RTC sleep timeLennart Poettering2018-10-241-1/+1
* sleep: move log message generation for rtc_read_time() into the function itselfLennart Poettering2018-10-241-4/+8