Added AutoTDP feature with RTSS source and Intel + ASUS power limiters

This commit is contained in:
IceStormNG
2024-03-01 07:47:00 +01:00
parent 7cc4e87d5f
commit 84a6fd4d5f
19 changed files with 2062 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
using GHelper.Ally;
using GHelper.AutoTDP;
using GHelper.Battery;
using GHelper.Display;
using GHelper.Gpu;
@@ -46,6 +47,8 @@ namespace GHelper
private static PowerLineStatus isPlugged = SystemInformation.PowerStatus.PowerLineStatus;
public static AutoTDPService autoTDPService = new AutoTDPService();
// The main entry point for the application
public static void Main(string[] args)
{
@@ -306,6 +309,7 @@ namespace GHelper
static void OnExit(object sender, EventArgs e)
{
autoTDPService.Shutdown();
trayIcon.Visible = false;
PeripheralsProvider.UnregisterForDeviceEvents();
clamshellControl.UnregisterDisplayEvents();