[PATCH v2 0/1] MR134: ntdll: Don't hard-code the battery and AC adapter names on Linux
Alex Henrie (@alexhenrie)
wine at gitlab.winehq.org
Tue May 31 23:19:58 CDT 2022
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
More information about the wine-devel
mailing list