Mobile app not working in the background

I have the mobile app installed on my phone and my wife's phone. I have some rules set up that are triggered based on our presence at home. The app on my phone works fine, reporting me as being in or out of the geofence correctly, even when I'm not actively using the app, so it's reporting in the background. However, the app on my wife's phone does not. It will correctly report her position as being in or out of the geofence, but only if she's actively running the app. I've checked the settings on both apps, and the settings on both our phones as well. We both have Samsung Galaxy 10 phones, and as far as I can tell, the settings on the app and the phones themselves are the same. Any suggestions as to where I should look more deeply?

Thanks,
John

Battery optimization would be my first guess. It's probably shutting down the background process.

I made sure of that earlier. The settings are the same.

I would look at a couple other settings:
1- Make sure location is on high accuracy
2-Make sure Google Play services is also on the "apps not optimized" list in the Settings>Apps>Special Access menu (Google play services is what actually runs the GPS features on the phone)
3-Also check in the Memory section of Device Care and make sure Hubitat is on the excluded list there as well.
4-Lastly, an app called GPS Status lets you check the calibration of the compass. For some reason, mine stays rock steady. But, my wife has to calibrate hers about once per week. When her location stops working, she opens the app and sure enough, her calibration is red. She recalibrates and her status updates immediately.
(It's actually kinda funny that I caught hers in this state when I was writing this reply. I asked her to check her compass calibration and it was red, so I was able to grab screen shots)

GPS Status App

Compass Calibration



Thanks, I made some changes and will test it out tomorrow.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.