gcobb321 / icloud3

iCloud3 v3 - iCloud3 is an advanced iDevice tracker that uses Apple iCloud account and HA Companion App data for presence detection and location based automations.
MIT License
498 stars 52 forks source link

AirPods Pro battery stuck at 0% #309

Closed polmonta closed 4 months ago

polmonta commented 4 months ago

I've using iCloud 3 for a while now and I've just noticed that my AirPods Pro battery has been stuck at 0% forever. I have tried factory restarting the AirPods, opening the case with both AirPods in (the battery indicator came up on my phone and both AirPods & case had plenty of battery) and repeatedly removing and adding the AirPods to iCloud 3 but nothing seems to work.

This is the configuration I'm using:

Screenshot 2024-02-26 at 17 37 31

I have also tried investigating online in case this was a bug or it had some fix, but I haven't had any luck.

Thanks in advance.

gcobb321 commented 4 months ago

Apple does not return any battery info for the AirPods. That is why it is always 0. It does return the last known location

polmonta commented 4 months ago

Apple does not return any battery info for the AirPods. That is why it is always 0. It does return the last known location

I didn't know that, thank you. Is there any other possible way I can pull the percentage of the AirPod's battery?

gcobb321 commented 4 months ago

Not that I know of. The data from famshr that is returned has one battery level field that it’s always 0.0. The AirPods have 3 battery levels-case, right pods and left pod. That could be why Apple isn’t providing that data

polmonta commented 4 months ago

That's probably it. Thank you anyway!