1 Jun
2022
1 Jun
'22
4:19 a.m.
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. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/134#note_1450