exelban / stats

macOS system monitor in your menu bar
MIT License
25.17k stars 833 forks source link

[Bug] AirPods battery levels not updating #805

Closed andreisaikouski closed 2 years ago

andreisaikouski commented 2 years ago

Describe the bug Bluetooth device battery levels not updating.

e.g. with Air Pods connected, and battery levels displayed, air pods chime with low battery after some use. Bluetooth device battery levels are still showing 66%

Details:

exelban commented 2 years ago

Hi. Does the air pods were paired and connected to the mac?

andreisaikouski commented 2 years ago

Hi. Does the air pods were paired and connected to the mac?

Yes they were. Audio was coming from the Mac in question

kyriejoshua commented 2 years ago

I hate to say but the problem still exists. It seems like the issue I proposed before.

Duplicate of #750

exelban commented 2 years ago

Hi. Uh, I have a little bit enough with this air pods battery levels. The problem is in the way of how these levels could be obtained. For all devices battery levels are fetching right from the device via Bluetooth protocol. But it does not work for air pods. Air pods level could be received only from the stored data in the macOS. And I have no way to update the value that is stored there. I have 2 ways: remove the air pods levels from the app or try to guess when the battery level was updated last time and purge them if it was not updated for some time. If someone has an idea of how it can be fixed please tell me. Because I tried almost everything that I know.