Websockets notifications is killing my battery
See original GitHub issueHome Assistant Android version: Beta-2000-2e0700f7-full Android version: 12 Phone model: S21 ultra Home Assistant version: 02.2022 Last working Home Assistant release (if known):
Description of problem: The last beta install drains my phone battery. Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):
Screenshot of problem:
Additional information:
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (7 by maintainers)
Top Results From Across the Web
Why do push app notifications drain battery life quickly? - Quora
It doesn't affect the battery life directly by having the notifications turned on, but it does receiving a push notification, so it depends...
Read more >Is websocket connectivity as default maintained without ...
Thanks, yes, I am already using push notifications by sending a flag to my server when the app goes background, But as I...
Read more >Battery Impact: Idle vs Busy Websocket on iOS [closed]
My question is whether the battery drain from that one socket will be significantly different if that websocket is streaming data consistently, ...
Read more >Battery Drain, Push Notifications Cellula… - Apple Community
I turned off wifi and disabled cellular data use for a number of apps. Battery still drains 100% to 50% in 7 hours...
Read more >Why your Android battery is draining fast and how to fix it
Why is my Android phone dying so fast? · There are too many push notifications and alerts draining the battery. · There are...
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
Yes
Never
will turn it off. We do have a change in our detection of the screen being off in the latest beta that will be in the play store on Saturday. Please give it a try then and also keep in mind that it is expected to have some battery drain with this feature, more drain if you set it to always. FWIW on my pixel 6 pro I keep it onAlways
and I do not see massive drain.can you also share a screenshot of the battery usage graph so we can see how much time was used by the app?
Closing as this should be fixed in the latest release