26 lines
694 B
Diff
26 lines
694 B
Diff
|
|
From 40c411464f47383229ee110398e4ad1d18c5fa6d Mon Sep 17 00:00:00 2001
|
||
|
|
From: root <root@localhost.localdomain>
|
||
|
|
Date: Tue, 11 Apr 2023 09:30:17 +0800
|
||
|
|
Subject: [PATCH] no setting cpu mode while initlizing
|
||
|
|
|
||
|
|
---
|
||
|
|
system/power/manager.go | 2 +-
|
||
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
|
||
|
|
diff --git a/system/power/manager.go b/system/power/manager.go
|
||
|
|
index 7a0737c..dbe1018 100644
|
||
|
|
--- a/system/power/manager.go
|
||
|
|
+++ b/system/power/manager.go
|
||
|
|
@@ -131,7 +131,7 @@ func newManager(service *dbusutil.Service) (*Manager, error) {
|
||
|
|
cpus: NewCpuHandlers(),
|
||
|
|
}
|
||
|
|
|
||
|
|
- m.refreshSystemPowerPerformance()
|
||
|
|
+ //m.refreshSystemPowerPerformance()
|
||
|
|
|
||
|
|
err := m.init()
|
||
|
|
if err != nil {
|
||
|
|
--
|
||
|
|
2.31.1
|
||
|
|
|