I’m wondering why the L5 could stay only 14h when idle (everything off).
In this configuration, the phone should only wait on the GSM network for incoming message or call, and that’s it. I’ve a good old Nokia 302, and idle (it could receive call and SMS, but it stay on my table doing nothing), it could stay up for 5-7 days, with a battery of 1350mAh…
I understand that there is a full linux behind it, but idle should be idle…
I should be missing something, but I don’t get it.
The thing is that I can’t have a phone which die after 14hours doing nothing (when the battery is new, it should decrease as time advance…).
We’ve been prioritizing run-time power management first as we’d rather the phone last a long time when you are actually using it. The Librem 5 doesn’t yet implement suspend at all (which is how other mobile devices get large standby times). So you can think of its idle run time like an idle laptop with a blank screen, but not suspended. Suspend is on the roadmap though and we will implement suspend at some point once we are done with our run-time optimizations.
Thanks for the reply
I see ! that make definitely sens Doing such phone is already so much work, and it look very nice !
Do you think is possible to make the phone to sleep with only the GSM chip waiting, with the ability to wake the phone when needed ?
Considering that a battery is also rather bad in term on carbon-footprint, I’m also a fan of saving it (by reducing cycles) and reduce the amount of spare to buy !
By the way, I would be interested to help developing the software to allows this functionality, for instance, even if I’ve never work on such project. Is it possible in any way ?
The plan when we do implement suspend, is to have it wake up from triggers in the cellular modem like you would expect in other phones. If you’d like to contribute, we have a whole suite of projects at https://source.puri.sm but honestly I don’t know which specific projects would be best suited for your contribution (whether it’s the kernel or perhaps something else, I’m not sure). Maybe someone else here in the forum can point out some specific areas.
I will take a look to that, to find if I could help in whatever topic !
I leave the subject open for some moment if someone wish to guide me, but I will close afterward, because I got my answer.
Thanks and good we !
I’m not sure if this is already answered somewhere, so please allow me.
It is possible to suspend Linux on the L5 like it a “normal” computer, but with the “problem” that it will not wake up upon some notification received, e.g. a text message, etc?
But will it wake up with the push on the power button or something like that (normally a push on a button on the keyboard)
yes, generic suspend to ram works on imx8 in mainline kernel however no triggers to wake (eg iphb-like wake timers, cellular events) and no polished periphery re-initialisation (eg something may not wake up properly or at all)
I’m experienced enough with C, that should not be an issue, but jumping in such repo seems difficult for me. I will give it a try, using the entry point you gave me. Also having the possibility to discuss with real people on chat should help !
At work I’m working on a robot using an I.MX6, that should help also !
There is no announced date when suspend to RAM will be ready. The i.MX 8M Linux manual says that suspend to RAM works, but I am not sure that is the case with the mainline Linux driver for the i.MX 8M. You will have to try it. See: https://community.nxp.com/t5/i-MX-Processors/i-MX8MQ-LPDDR4-deep-sleep-mode/m-p/924828
The bug reports don’t have any progress on the BM818 waking up the L5 on a call.
@dos also hinted that implementing various sleep states for different components during runtime is very helpful for doing a proper suspend, which will send all these components to sleep, plus the CPU.
I quick-n-dirty suspend would be possible (now), but first implementing proper power saving for all components is a better way. (That’s how I understood it)
Thanks for your answers, I hope this will be solved soon. This is for me more important than gadgets like convergence (I’m not saying that convergence isn’t interesting, but is less useful than battery life).
Yes I already voted once, I checked many things, including battery life but not standby time I didn’t understand it was battery life when phone is unused (my english is not very good)