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.
Trigger does not work when application in background mode
Moderator: Martin
Re: Trigger does not work when application in background mode
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
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