home-assistant / home-assistant/android
Pixel 8a only really updates location when app is active and phone screen is on
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Home Assistant Android app version(s):**
2024.7.3-full
**Android version(s):**
14 system updated to September 5,2024
**Device model(s):**
Pixel 8a
**Home Assistant version:**
2024.9.3
**Last working Home Assistant release (if known):**
not sure
**Description of problem, include YAML if issue is related to notifications:**
When the app is in the background, or the screen of the phone is turned off location updates happen very random or not, when the app is active and the screen is on i get updates every minute as expected
**Companion App Logs:**
```
There are no logs when the app is running in the background.
I was asked to include screen shots from the Location history in the Android app
```
**Screenshot or video of problem:**
Left the house at 2:55pm, arrived at work at 3pm, app didn't update until 3:08pm when i opened the app

Here i left the app open and the screen on, i get an update every minute, left work at 1:25pm, got home at 1:29 and received all expected updates

Here i left the app open and screen on while stationary at work. I again get an update every minute as expected.

Here the app is running in the background and screen off. I turned the screen off at 4:22pm and turned the screen back on at 4:52pm

**Additional information:**
Confirming settings i checked on my Pixel 8a.
- Home assistant app says it's allowed to run in the background.
- App has access to location services at all times
- App battery use is set to Allow background usage and is set to unrestricted
Contributor guide
Assessment
This issue has not been assessed yet.