언어 설정

Menu
Sites
Language
Tizen 3.0 web app - Timer paused when app in background

I have a Tizen 3.0 hybrid app (web app + native service), in which the web app runs several timers, one of which is a real-time time counter (ie. should increment by 1 each minute).

This web app has the following attributes set (in config.xml):

 

- Background support = enable

- Background category = background-network, iot-communication

I've noticed that when the app is in the background for a few minutes, its timers seem to be paused (the counter was not properly incremented each minute).

Is there any way to ensure that the web app's timers remain running (and the callback is executed when expected), even when the app is in the background?

Note that my app cannot request CPU_AWAKE lock (due to battery drain concerns when running on Tizen 3.0.0.1/3.0.0.2).

Responses

1 댓글
André Reus

So far from my experience, i can say that you can't keep gear awake for long time. It will automatically stop working after some time when the apps on background and gear is inactive.