mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Improved GPU Power reading
This commit is contained in:
@@ -526,7 +526,7 @@ namespace GHelper
|
|||||||
private void InitGPUPower()
|
private void InitGPUPower()
|
||||||
{
|
{
|
||||||
gpuPowerBase = Program.acpi.DeviceGet(AsusACPI.GPU_BASE);
|
gpuPowerBase = Program.acpi.DeviceGet(AsusACPI.GPU_BASE);
|
||||||
panelGPUPower.Visible = gpuPowerBase >= 0;
|
panelGPUPower.Visible = gpuPowerBase > 0;
|
||||||
if (gpuPowerBase <= 0) return;
|
if (gpuPowerBase <= 0) return;
|
||||||
|
|
||||||
Task.Run(async () =>
|
Task.Run(async () =>
|
||||||
|
|||||||
Reference in New Issue
Block a user