Energy settings

This commit is contained in:
Ali
2023-02-14 23:12:59 +04:00
parent bb7ffa6191
commit b324029366
49 changed files with 156 additions and 144 deletions

View File

@@ -14,10 +14,6 @@ public enum DeviceMetrics: CaseIterable, Equatable {
var cpuCount: UInt32 = 0
sysctlbyname("hw.ncpu", &cpuCount, &length, nil, 0)
#if DEBUG
cpuCount = 2
#endif
self.isGraphicallyCapable = cpuCount >= 6
}
}