Trigger does not work when application in background mode

Post your questions and help other users.

Moderator: Martin

Post Reply
nserj
Posts: 1
Joined: 27 Oct 2019 20:52

Trigger does not work when application in background mode

Post by nserj » 28 Oct 2019 08:30

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.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Trigger does not work when application in background mode

Post by Martin » 31 Oct 2019 20:07

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

Post Reply