Status of Suspend for Librem 5

Is there a way to read the firmware version of the modem or is it printed on boot messages? Which version has the wake-up feature?

2 Likes

Hello, did I understood well that your L5 consumes 7%/hour on suspend and 9%/hour on normal mode ?

I am happy but a bit surprised : I thought STR would decrease the consumption by twice (so something like 4%/hour). Maybe there is still a room for improvement, anyway happy to see that it is available.

1 Like

I agree with you that STR need more power saving to Librem 5, as far i know the STR benefit on power saving are 99% so i guess that the RAM of the L5 it still eating to much power.
I believe on Purism that they will do the best to get the best power saving for L5.

3 Likes

Yes. I was surprised as well and I’d be more than happy to hear from one of the Purism’s devs that I did something wrong.

1 Like

If you didn’t do anything wrong, I wouldn’t sweat the numbers too much. This process is still pretty new and achieving efficiency in any process takes time.

2 Likes

I just tested suspend on my L5 using echo mem | sudo tee /sys/power/state with the kernel being 5.16.0-1-librem5.

  1. It does suspend.
  2. Now we dial in.
  3. First ring and L5 is waked up showing the terminal we executed suspend.
  4. Then it looses the modem or the connection until the 2nd ring.
  5. 2nd to 3rd ring it has reconnected to 4G and calls kicks in to answer the phone. Maybe by now we have reached the 4th ring. Stays in 4G since I have enabled VoLTE.

But the interface does not provide the means to auto suspend. Will 5.17 be available soon? Will it give the possibility to enable the auto suspend?

4 Likes

If no.4 above did not happen, maybe Calls would kick-in starting from the 2nd ring.

The latest update includes the possibility to enable suspend in the power settings. The choices given for after how much time to suspend, have a minimum 15 minutes and the default choice is 20 minutes.

Isn’t this too much? If L5 has its screen locked and no-one is logged in through ssh or serial shouldn’t the minimum be a couple of minutes?

1 Like

@antonis I don’t think that suspend is completely ready for general usage yet, maybe that’s why minimum suspend time has not been tweaked yet to something more sensible.

1 Like

Well, there are still tests to be made and adding the components in userspace so that enabling/disabling is basically pressing a button from GNOME Settings

1 Like

Thank you for clarifying.

The Automatic Suspend option shows a disclaimer that it’s still experimental, and gives you two options to enable or not: (1) on battery power and (2) when plugged in.

Suspend on battery power can be set to 15, 20, 25, 30, or 45 minutes; 1 hour; 80, 90, or 100 minutes; or 2 hours. Same settings for when plugged in.

BTW, another nice addition to the settings: Show Battery Percentage. When enabled, it adds the percentage beside the icon in the notifications area. (But not on lock screen.)



EDIT: Note that the slowly-blinking blue LED is activated when suspend kicks in. And it stops blinking after a few minutes, apparently.

4 Likes

there is an issue to track that:

and:

5 Likes

Cool wallpaper.

Thanks. And thanks to Sicily. :sun_with_face:
Tutorial.

2 Likes

I’m on kernel 5.16.0-1 and did twice a suspend with:

apt list --installed 2>/dev/null | grep '^linux-image-.*-librem5'
linux-image-5.16.0-1-librem5/byzantium,now 5.16.11pureos2 arm64 [installed,automatic]

echo mem | sudo tee /sys/power/state

Result:

  • display goes off, SSH session frozen (which shows the suspend)
  • phone does not react on incoming call
  • display comes back on short press of power button
  • no further reaction on display nor SSH, only long press to reboot helps

UPDATE

I did two tests with automatic suspend after 15 minutes; result:

  • the device comes back with short press on power button and responds on input from touchscreen
  • an incoming call the Call app, but accepting the call is not possible (no reaction)

It normal that ssh go frozen because the wlan-card it under deep sleep too. Purism it trying to keep alive the wlan card under suspended but seem that redpine card it lacking for a special feature to fully turn ON.

To quick fix this you maybe need to buy a newer batch of modem from Purism store, but i don’t guarantee you it work 100% as my case mi modem work really good even under auto suspend from phosh-setting.

This issue does not happen with me but it could be happen because STR still on testing mode.

1 Like

In case you’re right, what’s the solution or end result?

I guess that Purism will perform a hack to enable the WLAN under Redpine card, to get data and notifications all the time under suspended mode but it will consume a little more battery than expected.
Also i guess that Purism will sale an enhanced wlan-card module to fully fix all the issues related to Redpine to get a better L5 funtions.

1 Like

I like that on auto suspend-to-ram the Librem 5 it notifies with a blue light that the device will quick enter to suspend-to-ram, it also notifies with a blue light that it is waking up from suspend-to-ram, if the blue light does not turn ON when wake up from suspend-to-ram it means the system crashed then it need a long press to power botton to turn off the machine.
At the moment there is only to 15 minutes at minimun to enter to suspend-to-ram, but i think that 5 minutes to go for suspend-to-ram will help to save more battery.

5 Likes