ntdll: Don't hard-code the battery and AC adapter names on Linux.
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=52831Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Showing
Please
register
or
sign in
to comment