10-21-2020, 05:32 PM
(10-19-2020, 08:02 PM)MeLikeyTacos Wrote:(10-19-2020, 07:36 PM)wdt Wrote: >What is the SleepMode=mem trick and did it work for you?I'm running Manjaro, if I understand you correctly it should be able to go into S3?
in /etc/systemd/sleep.conf
Suspend 3 (sometimes called s3 or s2ram), so far, is the ONLY worthwhile sleep
All others are barely better than screen blanking
Usually ALSO need a bsp uboot, for that version of trust
manjaro was 1st to have a kernel that "worked",,tsy kernel
Elementary uses this kernel, updated uboot no good, have to change (to get s3)
Fedora 32 also works, haven't updated recently so???
xmix's kernel supposedly also works
NO OTHERS (that I know of) can do s3
FWIW,,,,,, if you have more info,, post,,, look for "suspend 3" in dmesg
(and NOT s2idle)
--edit--
BTW if you have nvme, don't bother, pcie driver won't suspend
Really smart to back up 1st 16m BEFORE an upgrade, just in case a new uboot is "not so good", sometimes gets installed 'behind your back'
Here are the contents of /etc/systemd/sleep.conf, what do I need to change? I saw someone mention commenting out the SuspendState=freeze line...
[Sleep]
#AllowSuspend=yes
#AllowHibernation=yes
#AllowSuspendThenHibernate=yes
#AllowHybridSleep=yes
#SuspendMode=
SuspendState=freeze
#HibernateMode=platform shutdown
#HibernateState=disk
#HybridSleepMode=suspend platform shutdown
#HybridSleepState=disk
#HibernateDelaySec=180min
You can only get S3 through writing bsp uboot (in the manjaro repos or mrfixits) mainline uboot only allows for S2.
If you write bsp to your emmc any OS from SD can then be set to also utilize S3, too. Battery still gets eaten if the booted OS is on SD, but it’s about half as much as S2 on the emmc.