Add zenpower for AMD CPU temps (#590)
This commit is contained in:
parent
929fdf6020
commit
2e47f47b21
|
@ -1246,7 +1246,7 @@ def sysinfo():
|
||||||
continue
|
continue
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
for sensor in ["acpitz", "k10temp"]:
|
for sensor in ["acpitz", "k10temp", "zenpower"]:
|
||||||
if sensor in temp_sensors:
|
if sensor in temp_sensors:
|
||||||
if temp_sensors[sensor][0].current != 0:
|
if temp_sensors[sensor][0].current != 0:
|
||||||
temp_per_cpu = [temp_sensors[sensor][0].current] * online_cpu_count
|
temp_per_cpu = [temp_sensors[sensor][0].current] * online_cpu_count
|
||||||
|
|
Loading…
Reference in New Issue