Page 1 of 1

Trigger does not work when application in background mode

Posted: 28 Oct 2019 08:30
by nserj
Hello.
I've created two triggers to detect Bluetooth connect/disconnect events.
Sometimes it works when GUI is closed, but in main time it does not raise triggers.
However, for example, I disconnect some device, nothing happens, open GUI and trigger raised.
Sometimes, I can play with triggers and they works in background, but after some hours inactivity of Bluetooth they stop to work and raise when I open GUI.
Any suggestions please.
Thanks.

Re: Trigger does not work when application in background mode

Posted: 31 Oct 2019 20:07
by Martin
Hi,

It sounds like the device might not send the events due to battery saving optimizations. Please check out this page and try the workarounds listed for your device: https://dontkillmyapp.com/

Regards,
Martin