keep device awake for beacon out of range triggering?

osmandeha

New member
Hello. I use an altbeacon device that turns on when my vehicle starts and turns off when it turns off. By using the macrodroid application on my phone, I switch my phone to airplane mode with the altbeacon device when I get in the car. Instead, my second phone in the car goes out of airplane mode and becomes active.
I set Bluetooth to remain on in airplane mode for both phones using adb.
Since the phone in the vehicle is connected to Android Auto, it stays awake all the time and can keep the airplane mode off until the beacon device is deactivated.
However, when my first phone's screen turns off, it soon stops tracking the signals of the Bluetooth beacon device and airplane mode is disabled even though I am in the car. How can I prevent this?

This is my first post on the forum. sorry if there is any mistake
 
Last edited:
Top