mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Mouse refreshes battery again during "ReadSensors". But it does that nonblocking and event driven.
This commit is contained in:
@@ -814,6 +814,7 @@ namespace GHelper
|
||||
string battery = "";
|
||||
|
||||
HardwareControl.ReadSensors();
|
||||
Task.Run((Action)PeripheralsProvider.RefreshBatteryForAllDevices);
|
||||
|
||||
if (HardwareControl.cpuTemp > 0)
|
||||
cpuTemp = ": " + Math.Round((decimal)HardwareControl.cpuTemp).ToString() + "°C";
|
||||
|
||||
Reference in New Issue
Block a user