WTH Why does the Home Assistant App Use so much battery energy

Using 2024.12.1-minimal version, the HA app uses too much battery when connected to my server using websockets. If my app is not active, I do not want any data going back and forth other than notification triggers.

Please minimize the battery usage for websockets connections!

I agree with you on the same problem.

I have noticed that when I’m using the app for about five minutes after I exit the app on my phone, it’s home assistant continuous sending updates of all entities in my system via the web socket connection to the app.

This is, of course, totally destructive to my battery usage in my phone. To the point that Home Assistant is the application that always shows up as most battery consuming on my phone.

The problem was even worse when I disabled the setting in the app to close the connection after five minutes.

I wish there was an option to altogether shut down all web socket updates from Home Assistant when the app is backgrounded (while keeping the separate notifications connection open). Unfortunately, such a setting would destroy the ability for the home assistant companion app to update any widgets or tiles that show states of your system in your phone home screen. To keep that functionality operational, the app would still have to keep the connection open to the server, but ask the server not to send any updates for any entities that the companion app is not interested in. With that small change, about 99% of the communication between home assistant and the companion app would be stopped when the app is backgrounded.