App closed, phone sensors are not updating
See original GitHub issueHome Assistant Android version: 2.3.0-306-full
Android version: 10.0.7
Phone model: OnePlus 7pro
Home Assistant version: 0.114.3
Last working Home Assistant release (if known): Unknown
Description of problem: When I close the HA companion app on my phone, non of the app related sensors are updating in HA.
Traceback (if applicable):
Screenshot of problem:
Additional information:
Issue Analytics
- State:
- Created 3 years ago
- Comments:17 (10 by maintainers)
Top Results From Across the Web
What to Do if Your Android Phone's Proximity Sensor Stops ...
1. Clean Dirt and Dust Near the Sensor · 2. Check to See if a Screen Guard Is Blocking It · 3. Update...
Read more >Sensors not updating properly after latest App release
Every other sensor for the phone was updating (charge level, charge type, location etc.). The only other odd thing is the TTS switching...
Read more >How do I fix the proximity sensor on my Android phone?
Solutions to Proximity Sensor Not Working usually involve restating your phone, updating the phone, reseting mobile device, finding repair service,etc.
Read more >[CLOSED]all sensors stopped working after the upgrade to Q!!!
After updating to Android 10 the app does not load and locks up the phone until I restart. I hope you fix this...
Read more >Sensors Off | Android Open Source Project
Update any first-party apps to handle the onError callback with this ... If an app is using the microphone when Sensors off is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fortunately on my devices closing the app (or removing from recent apps) is not the same as Force Stop, so the periodic work continues to run. I’ll test your PR tonight to check if it makes any differences. I wonder if it will bypass the doze mode on Android 9+ or not.
May be a service with a permanent foreground notification could help?
Or abuse alarms as other applications do? 😉