[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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login