Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get the battery status of Apple Bluetooth Devices
# for Release Friends
ioreg -c BNBMouseDevice | grep BatteryPercent
ioreg -c BNBTrackpadDevice | grep BatteryPercent
ioreg -c AppleBluetoothHIDKeyboard | grep BatteryPercent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment