09-08-2021, 04:00 PM
(09-08-2021, 08:53 AM)wibble Wrote: Yes - you can ask the OS to suspend. For time-lapse you probably want to tell it when to wake up first. Remember other things can wake it up before then too - the phone OS is normally configured to go into suspend after some idle interval.
https://wiki.pine64.org/wiki/Crust
https://gitlab.gnome.org/kailueke/wake-mobile
Hi,
And thanks for the reply.
When in sleep mode is there any information on the current draw of the pine phone?
I have tried (and so far failed) to programmatically do something similar on an android device i.e when an App pauses and then stops when the phone automatically goes into sleep mode, the App should automatically restart/resume after a user defined period of time. For Android this is achieved using the alarm manager and broadcast receivers that work in background but it is much more complex than it needs to be and it seems to me that the same thing would be much easier to achieve using the pine phone.
Any thoughts on this?
Cheers.