Explicitly save previous power limits

This commit is contained in:
IceStormNG
2024-03-02 13:26:37 +01:00
parent 89de581e1f
commit b104d852c7
4 changed files with 17 additions and 7 deletions

View File

@@ -299,6 +299,8 @@ namespace GHelper.AutoTDP
tdpThread = new Thread(() =>
{
CurrentTDP = powerLimiter.GetCPUPowerLimit();
powerLimiter.SavePowerLimits(); // save current power limits to restore them afterwards
LowestStableTDP = profile.MaxTdp;
LowestTDP = profile.MaxTdp;