As long as the screen is on, it's fully functional but if the screen is off the script won't update. It seems that the jolla goes into some kind of sleep state, because when I turn the screen on, the script updates after some time.