mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-04-08 17:05:56 +02:00
Add temperature readings in thinkpad (#252)
This commit is contained in:
parent
6cb2c00786
commit
5d24f0e451
@ -998,6 +998,8 @@ def sysinfo():
|
||||
temp_per_cpu = [core_temp["zenpower"][0].current] * online_cpu_count
|
||||
elif "acpitz" in core_temp:
|
||||
temp_per_cpu = [core_temp["acpitz"][0].current] * online_cpu_count
|
||||
elif "thinkpad" in core_temp:
|
||||
temp_per_cpu = [core_temp["thinkpad"][0].current] * online_cpu_count
|
||||
except Exception as e:
|
||||
print(repr(e))
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user