1
0
mirror of https://github.com/systemd/systemd.git synced 2025-06-02 17:07:47 +03:00
Yu Watanabe 4f58b656d9 sleep: introduce SuspendEstimationSec=
Before v252, HibernateDelaySec= specifies the maximum timespan that the
system in suspend state, and the system hibernate after the timespan.

However, after 96d662fa4c8cab24da57523c5e49e6ef3967fc13, the setting is
repurposed as the default interval to measure battery charge level and
estimate the battery discharging late. And if the system has enough
battery capacity, then the system will stay in suspend state and not
hibernate even if the time passed. See issue #25269.

To keep the backward compatibility, let's introduce another setting
SuspendEstimationSec= for controlling the interval to measure
battery charge level, and make HibernateDelaySec= work as of v251.

This also drops implementation details from the man page.

Fixes #25269.
2023-01-27 20:52:12 +00:00
..
2023-01-20 12:18:05 +00:00
2023-01-24 19:14:27 +01:00
2022-10-14 15:56:58 +02:00
2022-06-28 13:10:05 +02:00
2022-06-28 16:05:31 +02:00
2022-11-16 00:12:16 +01:00
2023-01-15 17:19:10 +00:00
2022-06-28 13:10:05 +02:00
2022-06-28 13:10:05 +02:00
2022-12-07 10:26:31 +01:00
2022-03-07 15:32:22 +09:00
2021-01-04 11:01:17 +00:00
2021-06-30 23:33:00 +09:00
2023-01-19 23:11:36 +09:00
2022-01-06 22:20:11 +09:00
2021-11-30 13:54:27 +01:00
2023-01-20 15:32:16 +09:00
2022-08-23 12:14:58 +02:00
2022-08-28 00:03:36 +09:00
2023-01-22 17:55:34 +01:00
2022-03-21 20:06:13 +00:00
2023-01-20 15:32:16 +09:00
2023-01-20 15:32:16 +09:00
2020-11-09 13:23:58 +09:00
2020-12-16 17:21:48 +01:00