S3 sleep / suspend to ram on Ubuntu 18.04
#10
(01-17-2020, 03:18 AM)wasgurd Wrote:
(01-16-2020, 05:17 PM)tophneal Wrote: Which kernel does bullseye run, using that installer?

Code:
uname -a
Linux pinebookpro 5.4.2-2-pinebookpro-arm64 #1 SMP PREEMPT Sat Jan 11 03:28:31 UTC 2020 aarch64 GNU/Linux

Anything running Debian Bullseye is, assuming you used my installer and didn't change it afterwards, configured to do something called suspend-to-idle.

It means that when the laptop is asked to suspend to memory the kernel will prevent any tasks from being scheduled and close down most of the device drivers. Then it just waits... in other words is relies on normal kernel power management (cpufreq, cpuidle, etc) to minimise standby power. In principle by eliminating wakeups then we ensure that cpuidle can descend to it's deepest sleep state.

There are some power savings in this state (for example all the radios will get turned off) but they are pretty modest. I compared an s2idle system against a system doing nothing with the backlight turned off... s2idle ended up saving about a watt. So, not completely useless, but if I am going away for more than an hour I generally do a real power off instead.

It is configured this way because I wasn't able to get the system to turn back on after going into a deeper suspend state. There are some power savings but more importantly the laptop shouldn't hang when you close the lid: most desktop environments are configured to automatically suspend on lid-close and adopting s2idle means we don't have to hack each one separately to avoid the suspend.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye


Messages In This Thread
RE: S3 sleep / suspend to ram on Ubuntu 18.04 - by danielt - 01-17-2020, 11:53 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PineBook Pro seems to go to deep sleep, but doesn't wake up pogo 1 306 08-10-2022, 08:27 AM
Last Post: wdt
  How to make manjaro sleep or hibernate? KDE? regretfulpineuser 0 319 06-20-2022, 12:56 AM
Last Post: regretfulpineuser
  Working suspend on Manjaro brzegorz 3 2,747 12-03-2021, 01:39 PM
Last Post: rik-shaw
  reset sound after suspend to memory (deep sleep) Der Geist der Maschine 16 10,501 10-18-2021, 07:31 PM
Last Post: Syonyk
Question Help: Pinebook Pro will not enter sleep [Manjaro 20.04] EverythingIsInput 49 46,224 05-07-2021, 06:21 AM
Last Post: line72
  After update in Ubuntu bionic mate system crashed Wawe 2 1,990 04-18-2021, 04:52 AM
Last Post: Wawe
  Anyone can get deep sleep fully works with NVME rootfs? plumlis 0 1,419 01-11-2021, 09:58 AM
Last Post: plumlis
  Ubuntu Installation on PBP narinderpal10 5 3,754 12-18-2020, 12:22 PM
Last Post: narinderpal10
  Ubuntu MATE 18.04 Can't boot after update hankg 2 2,133 12-15-2020, 01:53 AM
Last Post: BryanF
  Installing Ubuntu 20.04 (Focal) with BSP uBoot with deep sleep and sound Syonyk 17 13,084 11-19-2020, 03:16 AM
Last Post: FeMike

Forum Jump:


Users browsing this thread: 1 Guest(s)