This name makes more sense as it only checks for requirements

This commit is contained in:
IceStormNG
2023-07-21 15:39:23 +02:00
parent 25f842df9d
commit 5498bb9398

View File

@@ -39,7 +39,7 @@ namespace GHelper.Helpers
return SystemInformation.PowerStatus.PowerLineStatus == PowerLineStatus.Online;
}
public bool IsInClamshellMode()
public bool IsInClamshellReady()
{
return IsExternalDisplayConnected() && IsChargerConnected();
}
@@ -51,7 +51,7 @@ namespace GHelper.Helpers
return;
}
if (IsInClamshellMode())
if (IsInClamshellReady())
{
EnableClamshellMode();
}