Skip to content
Snippets Groups Projects
Commit 89ec3787 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard
Browse files

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=52831


Signed-off-by: default avatarAlex Henrie <alexhenrie24@gmail.com>
parent 88c29c3f
Branches
Tags
1 merge request!134ntdll: Don't hard-code the battery and AC adapter names on Linux
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment