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

Alex Henrie (@alexhenrie) wine at gitlab.winehq.org
Wed Jun 15 09:10:23 CDT 2022


Look through all of the devices in /sys/class/power_supply and take the
statistics from the first battery and the first AC adapter.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52831
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>

--
  v3: ntdll: Don't hard-code the battery and AC adapter names on Linux
 
https://gitlab.winehq.org/wine/wine/-/merge_requests/134



More information about the wine-devel mailing list