Status of Suspend for Librem 5

Any initial thoughts on how suspend affects idle battery life?

1 Like

Have you found other wakeup option then a call?
(Power Button, SMS, …)

How did you put it into suspend to ram?

2 Likes

SMS, Calls, Vol + - , power button, all this wake up the L5.
I used the terminal to put the L5 on Suspend, but also there is a button on posh to enable.

@weirdnerd : I not tested yet the battery, but i believe it is 2% on suspended, compared to 8% per hours on inactive mode.

10 Likes

I tried “systemctl suspend” as root without success and couldn’t find an option in the GUI.

Are you in Byzantium or anything special?

1 Like

There’s an option in energy settings for auto suspend

3 Likes

Suspend isn’t ready and it’s not enabled yet. What changed is that with the latest kernel there’s actually a chance that it may work if you trigger is manually (previously it was guaranteed to not wake up after suspending). It can be tested with echo mem | sudo tee /sys/power/state.

12 Likes

Sorry for the late reply, yeah as @dos say you need new kernel plus new librem5-base packages to get it work, i think may be this 2 packages will be available to byzantium very soon.

Also i want to clarify something about Suspend to Ram and modem on my test, the Screen turn ON on the first dial-tone of the Call but is not Ring because Phosh still getting ready to start ringing, so the L5 start ring from suspend on the third dial-tone of the Caller.

5 Likes

I got time today to do a test for Suspend mode on librem 5.

  • Suspend mode spend: 6% per hour compared to 8% on inactive mode.

Like 17 HRS battery life Librem 5 on Suspended. No worries the Librem 5 still has more things to do to get more batteries life. :stuck_out_tongue:

11 Likes

Is it expected to wake up after suspend only via modem? I have the latest kernel and librem5-base but only screen wakes up if I press power or volume buttons, nothing else works. I have some packages from Debian unstable/experimental.

No. It may work on some devices already, but isn’t expected to work on all of them yet.

3 Likes

Is there a way to know which devices work or not work? What variable is different between devices ?

Yeah suspend on the MNT Reform, which uses the same SoC, sees power consumption effectively cut in half. Seeing something similar on the L5 makes a lot of sense.

I am also just writing to say that I would be VERY happy if suspend only worked as it does on a computer. IE: it does not wake for the modem as the modem is off, and the phone will only resume from suspend when the user pushes the power button, etc.

This kind of suspend would make the L5 100% usable for me.

1 Like

I did a few test of suspend the L5. Sometimes it comes back on Power button, sometimes also but screen does not react on any touch.

It’s tied to a particular modem; some units aren’t sending the wakeup signals, so will most likely require some reconfiguration to enable it.

Also, I haven’t had much success with suspend on my phones at all so far - seems there are some kernel bugs that, for some reason, my devices are triggering much more often than some others. This still needs to be debugged.

10 Likes

OK. It seems modem also can turn on the screen like power button but the system is not responding like others also mentioned. Hopefully we can find it out soon.

Hello all, I am really happy to hear that suspend is now in progress to be ported on the Librem 5.

Instead of “upping” this thread for news, do you know if there is a tracking issue on purism gitlab for this topic ?
Thus I can check if there is some progress, thank you very much !

1 Like

there are several, but you can just look for the suspend label: https://source.puri.sm/Librem5/linux-next/-/merge_requests?label_name[]=suspend

And the merge requests have all been merged. As far as I know (and I can be wrong), it will be present in 5.17. Initially it will not be enabled by default, because we still want to make more tests.

9 Likes

@dos Have you figured out what’s up with the modems that are not sending the wakeup signal?

1 Like

The other good things is that Purism is trying to enable the WLAN too under Suspend-to-RAM.
On PinephoneS this feature is not yet possible.
@dos the new wlan card that you have on ur L5 it has WoW support?