[solved] Timer in android doesn't trigger with screen turned off
Mobile and Embedded
3
Posts
1
Posters
1.8k
Views
1
Watching
-
My timer is set up to trigger an event after 5 minuts. If device screen is on or device itself is connected to my laptop via usb -- it works. I can hear a sound after 5 minuts.
When you disconnect phone from laptop, screen is off after timeout I can hear no sound after scheduled 5 minuts.
Is this an android eventloop issue?
I have tried to expose QTimer object to QML but it behaves the same way.How do I solve this issue? Would wrapping QTimer into worker thread helps here?