Battery sensor no longer working

Hey!

I’ve had this automation for a couple of years now, and it suddenly stopped working; whenever it’s after midnight and my phone begins wirelessly charging - everything at home shuts off (I have one wireless charger by the bedside).

So I had a closer look, and the charger type sensor has been “none” for a while - in fact, it doesn’t change at all, even when plugged with a cable.

In the above image, the phone id charged with a cable (as seen in the top-right battery icon), but most of the information regarding the charging is missing. Some information is read and is available though (negative watts indicating charging).

I’ve looked and verified the app setup, all available permissions, and anything else I could think of (cache clearing, reinstalling the app), but nothing worked. Heck, I even joined the beta testers for the app, thinking it would help (it didn’t).

Any ideas? :pray:

what device? we saw some recent devices get an OS update that broke the battery APIs and a subsequent OS update fixed it

1 Like

Can’t believe I forgot to mention that. Xiaomi 13.

1 Like

I see, thanks for the info!