iPhones report battery state and level differently

Being the HA life hacker in our household, I’ve had my battery state and level reporting from my iPhone for a while without any issue.

My iPhone is XR, iOS 18.5, HA app 2025.5. My phone reports battery state continuously while locked and idle. As soon as I plug it in, locked or not, the status updates in Home Assistant.

My wife’s iphone 12 has the same ios and app versions but does not report state or level unless HA app is in focus (that’s my conclusion so far, at least).

My son’s hand-me-down iphone 6s is running iOS 15.8.4 and HA app 2025.5. Similar to my wife’s phone, it doesn’t report anything unless HA app is in focus.

All three phones are set to report every 5 minutes, and I have verified that all the battery sensors are on, and that background refresh is turned on on all phones. I wouldn’t be so surprised with my son’s phone, as it’s older, but the fact that my wife’s phone is also not reporting is a conundrum.

It might be so that I’ve turned something on or allowed some extra on my phone at the very beginning that is escaping me right now. I’ve searched in the forum, but most posts I’ve found are about getting the data urgently with the Shortcuts hack.

Any ideas?