summaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
Diffstat (limited to 'TODO.org')
-rw-r--r--TODO.org30
1 files changed, 30 insertions, 0 deletions
diff --git a/TODO.org b/TODO.org
index a57133b..90e83ab 100644
--- a/TODO.org
+++ b/TODO.org
@@ -9,4 +9,34 @@
*** Requirements for the Login Manager
- must support both X11 and Wayland
** Investigate Hyprland Install
+** TODO Suspend then hibernate for Framework laptop
+#+BEGIN_QUOTE
+In /etc/systemd/logind.conf I have the following relevant lines:
+
+HandleLidSwitch=suspend-then-hibernate
+HandleLidSwitchExternalPower=suspend-then-hibernate
+IdleAction=suspend-then-hibernate
+
+In /etc/systemd/sleep.conf I have these relevant lines:
+
+#AllowSuspendThenHibernate=yes
+HibernateDelaySec=720min
+The AllowSuspendThenHibernate line is commented out but that is the default so it is fine.
+
+
+#+END_QUOTE
+[[https://community.frame.work/t/tracking-suspend-on-linux-drains-a-lot-of-battery-compared-to-other-laptop/24737/12][[TRACKING] Suspend on linux drains a lot of battery compared to other laptop - Framework Laptop 13 / Linux - Framework Community]]
+Captured On: [2024-03-03 Sun 07:14]
+** TODO Another kernel parameter for sleep/suspend issue in Framework Laptop
+#+BEGIN_QUOTE
+Lastly, my findings… after bit of testing and measuring, it appears that with more or less up-to-date software (current linux kernel, systemd, etc.) it evens out (very scientifically measured:) at around 1.2-1.3 percent/hour in s2idle for the above described configuration (mainly 2x16 GB SO-DIMM sticks), independent of the distribution used (i.e. Fedora and NixOS) but with “rtc_cmos.use_acpi_alarm=1” added to the kernel command line (iiuc, which will become the default in a future systemd release thanks to @Mario_Limonciello et al.) and a “powertop --auto-tune” run at boot time. Considering that refreshing memory in sleep/stand-by mode is the main consumer of energy and that soldered memory consumes around 90% less energy (with the obvious caveats, of course) in sleep than non-soldered solutions, this boils down (again, very scientifically measured) to around 0.7/0.8 watts in s2idle, which is a (very) good result, imo. This would be the first laptop with which i’ve been able to achieve acceptable suspend results now that ACPI S3 appears to have gone everywhere. Thanks a bunch, everybody…
+#+END_QUOTE
+[[https://community.frame.work/t/battery-drain-on-suspend-sleep-with-linux/42395/7][Battery Drain on Suspend/Sleep with Linux - Framework Laptop 13 - Framework Community]]
+Captured On: [2024-03-03 Sun 06:16]
+** TODO Look into kernel parameter to solve battery drain with Sleep/Suspend on Framework
+#+BEGIN_QUOTE
+Adding the kernel parameter acpi_mask_gpe=0x1A has made sleep much closer to desired with decently low battery drain overnight. Still a bit unpredictable with manual suspend where it’ll just decide to wake up instantly for some reason, but once the automatic 15 minute inactivity is hit it seems to sleep with the lid closed.
+#+END_QUOTE
+[[https://community.frame.work/t/battery-drain-on-suspend-sleep-with-linux/42395/4][Battery Drain on Suspend/Sleep with Linux - Framework Laptop 13 - Framework Community]]
+Captured On: [2024-03-03 Sun 06:14]
* ArchSetup Complete