mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-09-14 09:44:48 +03:00
committed by
Zbigniew Jędrzejewski-Szmek
parent
eea08d150c
commit
b84a05fc57
@@ -431,9 +431,9 @@ static int execute_s2h(const SleepConfig *sleep_config) {
|
|||||||
return 0;
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
r = custom_timer_suspend(sleep_config);
|
r = custom_timer_suspend(sleep_config);
|
||||||
if(r < 0)
|
if (r < 0)
|
||||||
return log_debug_errno(r, "Suspend cycle with manual battery discharge rate estimation failed: %m");
|
return log_debug_errno(r, "Suspend cycle with manual battery discharge rate estimation failed: %m");
|
||||||
if(r == 0)
|
if (r == 0)
|
||||||
/* manual wakeup */
|
/* manual wakeup */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user