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.