MichalW / gnome-bluetooth-battery-indicator

Gnome-Shell extension displaying battery percentage for bluetooth devices
GNU General Public License v3.0
118 stars 39 forks source link

I only get battery of one device when multiple devices are present #79

Open ismasou opened 8 months ago

ismasou commented 8 months ago

Thank you for the extension. Recently, I've been having this issue when connecting multiple bluetooth devices. I only get the battery of one of them, the others stay blank. When I checked the script, it all seems to work just fine to get the battery. I found that if I get comment out this line, then it works.

            this._cancellable.connect(() => proc.force_exit());

It seems that this is killing the processes before it can output the battery percentage. Is this really needed?