On 05/02/14 10:04, Ove Kåven wrote:
Den 05. feb. 2014 07:16, skrev Valerio Valerio:
Hi,
On 05/02/14 02:58, Thomas Tanghus wrote:
On Monday 03 February 2014 22:58:42 Ove Kåven wrote:
But for scheduled wakeups (say I want the next synchronization to
occur
after 6 hours), I suppose the best option is to use "timed"?
I made a QML plugin including libiphb for that, and it did pass the
harbour
master ;)
https://github.com/tanghus/kitchen-timer-qml/tree/master/src/insomniac
Didn't checked your code carefully but this is probably not sufficient,
if the device enters late suspend the timers will stop unless you use
the keepalive apis (unfortunately not suited for harbour yet):
https://github.com/nemomobile/nemo-keepalive
But he does. From that README, it sounds like nemo-keepalive's
PeriodicBackgroundProcessing is using libiphb, just like he is...
Not only, if you check the code it also pings MCE preventing the device
to go into late suspend, at least for me libiphb alone was not sufficient.
Perhaps I could just use the nemo-keepalive API anyway since I'm not
currently targeting harbour anyway because of its other restrictions.
There's also QML interface there in case you haven't noticed.
Best regards,
Valério
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list