[solved using UT Tweak Tool] Use a timer even if the screen is off (in standby mode)
-
I trigger a timer in an app (qml) but it pauses when the screen is off/locked.
In apparmor, I use “keep-display-on”.In the code, although I don't think it's normally useful :
import QtSystemInfo 5.5 ScreenSaver { id: screenSaver screenSaverEnabled: false }
Do you have a solution, please?
-
@gwado Test 'avoid app interruption' in UT TT
-
@domubpkm Great, thanks.
Already, it works when I enable this option on my app.
That's a first step.
I'll see if I can integrate the option into my app to be independent of UT Tweak Tool. -
I've looked at the UT Tweak Tool code but I don't have the skills for it.
UTTT allows you to interrupt an app. It's functional, I won't go any further.
Thanks! -
Disabling app suspension is a last resort and it would make your app unconfined if you toggle the setting in your app itself. If you use media hub, your media should keep on playing even if the app is suspended. Worth checking the music app and other music app in the store. I wouldn't be surprised if there are still some issues related to it though.