Low Power Mode detection

Change low to reduced

Low Power Mode detection

Fix namespace space

Low Power Mode detection

Fix namespace space

Low Power Mode detection
This commit is contained in:
nastys
2022-03-05 17:32:35 +01:00
committed by Megamouse
parent 686d2759f4
commit ce7b1576e0
4 changed files with 35 additions and 0 deletions
+8
View File
@@ -19,3 +19,11 @@ namespace Darwin_Version
return osver.patchVersion;
}
}
namespace Darwin_ProcessInfo
{
bool getLowPowerModeEnabled()
{
return NSProcessInfo.processInfo.isLowPowerModeEnabled;
}
}