mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Fixed bug with battery discharge sensor
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user