I have Timer that runs from a trigger and should do some changes on some specific values (create a visual bar as the times flows).
But if the screen goes off the timer will do the same.
So if I want a visual bar that indicates a minute, if the screen turn off, the bar will wait until the screen it is turned on again.
It is possible to keep the timer running even (1) the app screen is off or (2) the app it is closed or (3) in background?
Do you thing would be an idea to keep the Timer changes but realted to the clock from device and calculate how many minutes, seconds, hours are from the trigger moment?