Languages

Menu
Sites
Language
Wearable app should I refresh UI when in background

Hello all,

I have a fitness app which can run in background on Samsung watches. I have the required background flag in config.xml and CPU AWAKE in my app. When the screen is off, my app still receives different sensors data like GPS, heart rate and pedometer.

 

My question is that how much power does it consume to set the values in the app using innerHTML call? Is it worth the effort to check if screen is ON before setting 3-4 values in my app as the data is received from the sensors? If it saves substantial power, I can defer the screen update till the screen is ON. My original assumption was that tizen framework itself may be doing the optimization by checking screen status. Now, I am looking for more and more ways to save battery Thanks in advance

-ajay