Fixed bug with battery discharge sensor

This commit is contained in:
seerge
2023-02-25 01:43:12 +01:00
parent a0bafa8843
commit 1417593413
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ public class HardwareMonitor
ct.Dispose();
var cb = new PerformanceCounter("Power Meter", "Power", "Power Meter (0)", true);
batteryDischarge = ct.NextValue() / 1000;
batteryDischarge = cb.NextValue() / 1000;
cb.Dispose();
}
catch