I’m sure initialization of components like the modem isn’t instantaneous.
this work it’s very important.
Best regards
For me, the tweak described in https://wiki.mobian.org/doku.php?id=tweaks&s[]=ssh#prevent-sleep-in-an-ssh-session is good enough.
That’s not a golden bullet either, as this would only work with GSM data enabled and wouldn’t be able to use WiFi, VPN etc.
I think i would like to add not sure thats the right topic here but for long battery life you need three things.
- device hardware suspend function,
- OS suspend function,
- application suspend function.
Scenario suspend each app, only keep active the app a user is viewing (basically only keep that desktop alive in which the app is running - on fullscreen in phosh). That isnt happening now or at least not aggressively enough.
OS suspend scenario would be to stop notifications when do not disturb is selected or reduce frequency of querying for notifications when in power save mode, stop all background running app processes etc.
Then scenario discussed here where devices on the phone are selectively powered down or up, or put into powersave mode. e.g. drop frame rate and screen refresh when reading a book and only bump up frame rate when user starts touching the screen etc
Because it an experimental stage, then the suspend config on setting it is for laptop, not for mobile. Of course Purism will perform suspend mode in the best and smart way to L5.
Purism team is constantly adding battery-save in all 3 modes, Active, Inactive and Suspend.
It there a hope to keep the gsm-data enabled for apps notifications on suspend-mode by WOWWAN?
I did longer testing. In 8h (+1min), with all the kill switches in use (phone as idle as possible), using the suspend preview, battery went from 98% to 70%. This gives much more accurate picture of the potential of the suspend feature - huge possibilities compared to current usetime (even if ~2,25%/hour isn’t very efficient - still no optimization yet)! Several times more than the previous estimate based on two hours (although the setup was different too).
Like in previous test, L5 clock alarm did not wake me up, but that’s why we have backup systems. Interestingly, it started to ring immediately when I pushed power button to wake the phone, as the wake-up ring event was still in progress [made me wonder: who woke up who…? ].
sudo systemctl suspend
It may be my imagination, but when testing the experimental suspend, after I wake the phone, and see it’s time to recharge, plugging it in doesn’t activate the LED, and charging doesn’t start. Unplugging, then turning off suspend returns plug-in and charging to normal behavior. I’ll have to check this a few more times to confirm.
P.S. Lots of time-out options now:
(not shown: 100 minutes, 2 hours)
How to find out how the Settings --> Power tab’s “Battery” calculates time remaining? I think it would be helpful if that showed at least four different counters:
- remaining time (to automatic power off) with average use and current settings (it is not clear if this is so now or if the estimate ignores the settings)
- remaining time with estimated heavy use (mobile data or wifi streaming whole of Youtub, some apps using most of cpu etc.)
- remaining time with if current power saving settings are used and mostly idle
- maximum time with strictest power saving settings, screen dimmed, idle, all killswitches used and so on
Even if they would be kinda sorta almost estimates (that could improve in accuracy over time), they would provide better understanding to user about power.
And after a few hours of use, the suspend seems to work much better now than when initally introduced… so far. I have on a five minute timer and it’s not noticeable when going to sleep or waking (apart from having the status led also shutting down and screen going black). More testing and testers needed, of course.
Can the suspend function allow background services to run? Something like Apache installed from terminal? Not the app version.
No. Suspend shuts the CPU down.
Install phosh-mobile-settings and under Librem 5, click the red button with “suspend now” label.
Probably not related to using suspend. Charging failure occurred today even with suspend off. I corrected using the Evergreen troubleshooting method described here.
That it is for Heat, not for Supend.
Try L5 cooled the charging issues, it just not happen.
The phone was not hot when I first plugged it in and when charging failed to activate.