[SailfishDevel] Preventing deep sleep for a few seconds?
Ove Kåven
ovek at arcticnet.no
Wed Feb 5 08:04:36 UTC 2014
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...
Perhaps I could just use the nemo-keepalive API anyway since I'm not
currently targeting harbour anyway because of its other restrictions.
More information about the Devel
mailing list