mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
system-stat: don't log about no cpu temp found unless it's really true.
This commit is contained in:
@@ -703,8 +703,8 @@ Singleton {
|
||||
root.cpuThermalZonePaths = cpuZones.map(z => z.path);
|
||||
const types = cpuZones.map(z => z.type).join(", ");
|
||||
Logger.i("SystemStat", `Found ${cpuZones.length} CPU thermal zone(s): ${types}`);
|
||||
} else {
|
||||
Logger.w("No supported temperature sensor found");
|
||||
} else if (root.cpuTempHwmonPath === "") {
|
||||
Logger.w("SystemStat", "No supported temperature sensor found");
|
||||
}
|
||||
|
||||
// GPU thermal zones
|
||||
|
||||
Reference in New Issue
Block a user