home-assistant / home-assistant/android
Dashboard traffic, when app in background.
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Home Assistant Android version:**
2.4.1-full
**Android version:**
10
**Phone model:**
Xiaomi mi 9
**Home Assistant version:**
0.115.3
**Last working Home Assistant release (if known):**
no
**Description of problem:**
When app in background, video streams from cameras does not stop stream. Almost all apps stops video stream at onPause() Android lifecycle, but HA does not. Now the problem is even more serious, because from the activities of the sensors, the system almost never kills the application. I have a lot of cameras and I wasted 70 gigabytes in a month because of this bug. Plus the battery runs out quickly.
**Traceback (if applicable):**
**Screenshot of problem:**

**Additional information:**
Solution: You should stop stream, when device goes onStop(), maybe communicate with HA server, and show video placeholder.
Contributor guide
Assessment
This issue has not been assessed yet.