-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Toothpick] Device Support (battery level) request for Apple Magic Mouse (A1657) #17391
Comments
Thank you for opening this issue! 🔔 @VladCuciureanu @briankosw @VladCuciureanu @sxn @pernielsentikaer @rspeicher @VladCuciureanu @AntonNiklasson you might want to have a look. 💡 Author and Contributors commandsThe author and contributors of
|
Hey there! Thanks for the feedback! Sadly this issue is most likely out of my control. As you might notice from the device data you provided above, the Bluetooth utility doesn't return the battery level of the Magic Mouse and the issue might be originating from anywhere between the BT utility and the actual Magic Mouse, so mostly out of my power to fix. For comparison here's how my Magic Trackpad looks: {
"device_address": "<Redacted>",
"device_firmwareVersion": "<Redacted>",
"device_minorType": "Magic Trackpad",
"device_productID": "0x0324",
"device_services": "<Redacted>",
"device_vendorID": "0x004C",
"device_connected": "true",
"device_batteryLevelMain": "46%"
} Note the "device_batteryLevelMain" field missing from your device's output :( Edit: Sometimes power cycling the device or the computer fixes it tho so might be worth trying |
@raycastbot close this issue |
@VladCuciureanu yeah that's weird. However, I'm able to see the battery level with a similar extension in Alfred. So there should definitely be a way to get that data – the question being how. Workflow: https://alfred.app/workflows/zeitlings/bluetooth-device-battery/ |
@raycastbot reopen this issue |
@raycastbot keep this issue open |
I'm just checking how the Alfred extension handles this and it seems it's using the IOKit via:
to retrieve the battery level. |
Using something similar: Could you send me the output of that command when run on your machine with the mouse connected? Either here or via email is fine. |
|
Extension
https://www.raycast.com/VladCuciureanu/toothpick
Description
Device brand and model
Apple Magic Mouse (A1657)
Device data
{"device_address":"DC:A9:04:01:55:58","device_firmwareVersion":"3.1.1","device_minorType":"Mouse","device_productID":"0x0269","device_services":"0x800020 < HID ACL >","device_vendorID":"0x004C","device_connected":"true"}
Who will benefit from this feature?
All Magic Mouse users
Anything else?
So it works fine for connectivity, but I've noticed that I'm only seeing battery level for my Magic Keyboard, not for the Magic Mouse:
The text was updated successfully, but these errors were encountered: