[PATCH v2 0/1] MR134: ntdll: Don't hard-code the battery and AC adapter names on Linux

Huw Davies (@huw) wine at gitlab.winehq.org
Mon Jun 13 02:35:39 CDT 2022

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.


More information about the wine-devel mailing list