[SailfishDevel] heartbeat timer that doenst freeze when phone is hibernated

joao morgado joaodeusmorgado at yahoo.com
Fri Sep 29 08:10:21 UTC 2017


 
Thank you
I will have a look.

"This is my first answer to any question not started by me on this email list :D"
There's always a first time :)
RegardsJoão



    Em quinta-feira, 28 de setembro de 2017 16:57:59 GMT+1, J Pablo Navarro <elfio at hiperones.es> escreveu:  
 
 Hi! 

This is my first answer to any question not started by me on this email list :D

I had to deal with something similar. There is a system command that you can 
use to wake up the phone at specific time: timedclient-qt5.

Also, nemo-keepalive is the package you would need in case you want to do some 
stuff while the phone screen is off.

On jueves, 28 de septiembre de 2017 6:58:59 (CEST) joao morgado via Devel 
wrote:
> Hi all
> I have timer app in harbour that is using a qml Timer to fire the alarm.
> Problem is when the phone is hibernated/deepsleep the timer freezes.
> Reading the sailfish api docs it seams the way to go is to use a heartbeat
> timer from timed component from
> here https://git.merproject.org/mer-core/timed I have already started
> reading the code, but I'm not sure what should I be looking for or how to
> use it with my app.  Any hints ? ThanksJoão
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20170929/ffc20a99/attachment.html>


More information about the Devel mailing list