by javajosh · 4y ago · 0 comments
Of course, there are some quirks. The thing seems to leak power while suspended - but the work around is to shutdown, since it boots in ~5 seconds anyway! The fingerprint reader on the power button doesn't work, but that's not something I would really use anyway. Snap seems to be broken in ways I don't understand, because it periodically prompts me to do the same thing over and over and never seems to succeed. That seems more like an Ubuntu problem - like, ditch snap, whatever it is.
$ cat /sys/power/mem_sleep
s2idle [deep]
And no I'm not switching to 's2idle' because that results in far greater battery drain.Also, even when in 'deep' suspend mode, there was some pretty significant power drain when I had the HDMI and USB-A expansion cards installed. I "fixed" it by replacing them with USB-C cards. Not a huge deal for my usage pattern, but annoying nonetheless.
grubby --update-kernel=ALL --args="nvme.noacpi=1"
The drain with USB-A and HDMI cards is real, though. I see 2-3% per hour (as compared to <1% with only USB-C cards), and there seems to be no fix on the horizon. Not a huge deal for my usage pattern either, as I'll power off or put it on the charger if I'm not going to use it again for more than a couple hours.
State: Suspend-To-Idle
ACPI state: S0
Label: "s2idle" ("freeze")
This state is a generic, pure software, light-weight, system sleep state.
It allows more energy to be saved relative to runtime idle by freezing user
space and putting all I/O devices into low-power states (possibly
lower-power than available at run time), such that the processors can
spend more time in their idle states.
This state can be used for platforms without Power-On Suspend/Suspend-to-RAM
support, or it can be used in addition to Suspend-to-RAM to provide reduced
resume latency. It is always supported.
And notice that for 'deep' mode, the same docs say: State: Suspend-to-RAM
ACPI State: S3
Label: "deep"
This state, if supported, offers significant power savings as everything in the
system is put into a low-power state, except for memory, which should be placed
into the self-refresh mode to retain its contents.
I do already have 'nvme.noacpi=1' set, so I guess I'll try out 's2idle'. Thanks for the tip.I do note that the installation guide doesn't say anything about s2idle vs deep suspend: https://guides.frame.work/Guide/Fedora+36+Installation+on+th...
[1]: https://www.kernel.org/doc/Documentation/power/states.txt