Add zenpower for AMD CPU temps (#590)

This commit is contained in:
Fredin 2023-11-03 12:10:37 +05:30 committed by GitHub
parent 929fdf6020
commit 2e47f47b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1246,7 +1246,7 @@ def sysinfo():
continue
break
else:
for sensor in ["acpitz", "k10temp"]:
for sensor in ["acpitz", "k10temp", "zenpower"]:
if sensor in temp_sensors:
if temp_sensors[sensor][0].current != 0:
temp_per_cpu = [temp_sensors[sensor][0].current] * online_cpu_count