question

q-factor avatar image
q-factor asked q-factor commented

Background process when Clover station is on Sleep

I have a process that polls my server every 15 mins. This process is working fine on a Clover mobile when it is on sleep, but does not work on a clover station. On checking the logs, it does not seem to run when the Clover station is on sleep. By sleep, I mean when the terminal is sitting idle with its screen off. Is there any solution for this ? Is this OS specific ? or am I missing something ?

Clover Station
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Really hard to say without seeing your code for how you are triggering and running the service.

0 Likes 0 ·

1 Answer

Bryanne Vega avatar image
Bryanne Vega answered q-factor commented

Are you running it as a service or in the app?

Your app might be going to the paused stated by the android OS.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

q-factor avatar image q-factor commented ·

It is going to a paused state in a Clover mobile but not on a Clover station. That is what is weird. Anyway I solved my issue with a workaround

0 Likes 0 ·

Welcome to the
Clover Developer Community