Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 906 Bytes

File metadata and controls

44 lines (30 loc) · 906 Bytes

About

Gnome-Shell extension displaying battery percentage for bluetooth devices

https://extensions.gnome.org/extension/3991/bluetooth-battery/

Requirements

  • bluez
  • python3 (on ubuntu: python3-dev)
  • libbluetooth (on ubuntu: libbluetooth-dev)
  • pybluez
sudo apt install bluez libbluetooth-dev python3-dev python3-bluez

Manual Installation

  1. Clone the repo
git clone [email protected]:MichalW/gnome-bluetooth-battery-indicator.git
  1. Init submodules
git submodule update --init
  1. Copy to extensions
cp -R gnome-bluetooth-battery-indicator ~/.local/share/gnome-shell/extensions/[email protected]

Debug

journalctl -f -o cat /usr/bin/gnome-shell

Sources

This script is based on the following sources

https://github.com/TheWeirdDev/Bluetooth_Headset_Battery_Level

https://github.com/bjarosze/gnome-bluetooth-quick-connect