On Mon Jun 13 07:35:38 2022 +0000, Alex Henrie wrote:
It looks like Bluetooth peripherals have a file at /sys/class/power_supply/*/scope with the text "Device". The other possible values are "System" and "Unknown" (assuming that the file exists in the first place). I've pushed a new patch that checks that file and skips over batteries that belong to peripheral devices.
I suggest that we talk to the kernel guys (Sebastian Reichel looks to be a good bet) and ask their advice.