lihaoyun6 / AirBattery

Get the battery usage of all your devices on your Mac and put them on the Dock / Menu Bar / Widget! && 在Mac上获取你所有设备的电量信息并显示在Dock / 状态栏 / 小组件上!
https://lihaoyun6.github.io/airbattery/
GNU Affero General Public License v3.0
1.13k stars 32 forks source link

Sony WH-1000XM4 is not showing up in widget #74

Closed Ender-Wang closed 1 month ago

Ender-Wang commented 1 month ago

Not sure why it doesnot, seems not recognized? Some identifiers you might need:

Vendor ID:  0x054C
Product ID: 0x0D58

Left widget is AirBattery, on the right is the stock one. CleanShot_2024-08-13_23-59-30

On larger stock widget: CleanShot_2024-08-14_00-00-14

lihaoyun6 commented 1 month ago

Please connect your headset to Mac, then open "Terminal" and run:

system_profiler SPBluetoothDataType -json > ~/Desktop/bluetooth.json

Then send me the bluetooth.json on your desktop

Ender-Wang commented 1 month ago

bluetooth.json I masked the second half of the MAC address with FFF.

lihaoyun6 commented 1 month ago

It seems that macOS does not list the battery info of the headphones here. Have you tried enabling "Enhanced HID Scanner" and reconnecting the headphones? This will give AirBattery a chance to get the information it wants from the system log.

Ender-Wang commented 1 month ago

Turned on HID scan and it's showing, thanks a lot.