Do you use Apple AirPods or Beats wireless headphones with Ubuntu (or any Linux distribution using GNOME Shell) and want to be able to check battery levels on your desktop?
Well, now you can!
The new Airpod Battery Monitor GNOME Shell extension makes it easy to check the battery levels of your AirPods or Beats bluetooth headsets.
Don’t See AirPods Battery Levels in Ubuntu?
Apple’s wireless audio devices, including Beats, an Apple subsidiary, function “out of the box” in Ubuntu and other Linux distros using the standard Bluetooth stack, but do not display any battery level indication.
Lack of battery level visibility for Bluetooth audio devices in Ubuntu is not uncommon.
You can activate experimental Bluez features in order to display battery levels of connected Bluetooth audio devices in Settings > Power, as well as through helpful GNOME Shell extensions like Bluetooth Battery Meter.
However, activating Bluez experimental features does not enable the display of AirPod battery levels.
(Why? Apple’s audio equipment doesn’t report its battery status using the Bluetooth Battery Service (BAS) most audio devices do. The creator of this extension explains AirPods instead share battery and model information using BLE advertising packets).
Ignore the technical side; if you install the Airpod Battery Monitor GNOME Shell extension you will be able see AirPods battery levels in Ubuntu when paired to/with the distro.
You will see battery levels for each AirPod (left, right) separately.
AirPod Battery Meter GNOME Extension
As of writing this extension supports:
- Apple AirPods (all gens)
- Apple AirPods Pro (all gens)
- Apple AirPods Max
- Beats
- AirPods wireless charging case
And the extension is compatible with GNOME 43 and above, meaning you can use this on Ubuntu 22.10, 23.04, 23.10 and the latest development builds of 24.04.
- Install the Airpod Battery Meter extension
- Connect your AirPods to Ubuntu
- Open the extension’s preferences panel
- Select your AirPods model to initiate BLE beacon scanning
It can take a minute or two for this extension to “discover” your AirPods and show their battery information (due to the mechanism for gleaning battery levels).
From the preferences panel you can choose where/how battery levels appear:
- As a label in the top bar – click to see battery info, or:
- Icons in the top bar – battery info shown in Message Tray
So yeah – if you’ve got AirPods, you use them with Ubuntu, and you want to be able to keep an eye on they battery levels, give this extension a go and let me know if it works!
I can’t test it myself as I don’t own AirPods or Beats devices (my main headphones are wired, and I use a Bluetooth sound bar for everything else – the screenshots in this post are composites using screenshots shared on the project Github/GNOME extensions listing).
- I recommend using the GNOME Shell Extension Manager desktop app – it’s in the Ubuntu repos and makes installing, managing, and configuring extensions easier than via a web browser ↩︎