]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
update TODO
authorLennart Poettering <lennart@poettering.net>
Mon, 29 Jul 2019 10:49:13 +0000 (12:49 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 29 Jul 2019 10:49:13 +0000 (12:49 +0200)
TODO

diff --git a/TODO b/TODO
index af41aa57acd84b1f14e9856d1cbbeaec7707e690..6d217e523bfc39f648292e0d2330c4418bf38be2 100644 (file)
--- a/TODO
+++ b/TODO
@@ -19,6 +19,21 @@ Janitorial Clean-ups:
 
 Features:
 
+* beef up s2h to implement a battery watch loop: instead of entering
+  hibernation unconditionally after coming back from resume make a decision
+  based on the battery load level: if battery level is above a specific
+  threshold, go to suspend again, only hibernate if below it. This means we'd
+  stick to suspend usually, but fall back to hibernation only when battery runs
+  empty (well, subject to our sampling interval). Related to this, check if we
+  can make ACPI _BTP (i.e. /sys/class/power_supply/*/alarm) work for us too,
+  i.e. see if it can wake up machines from suspend, so that we could resume
+  automatically when the system is low on power and move automatically to
+  hibernation mode. (see
+  https://uefi.org/sites/default/files/resources/ACPI%206_2_A_Sept29.pdf
+  section 10.2.2.8 and
+  https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/modern-standby-wake-sources
+  at the end).
+
 * add an explicit "vertical" mode to format-table, so that "systemctl
   status"-like outputs (i.e. with a series of field names left and values
   right) become genuine first class citizens, and we gain automatic, sane JSON