🌡️ Thermal and cooling¶
Human friendly interface to linux thermal zone and cooling devices.
Without further ado:
python
from linuxpy.thermal import find
with find(type="x86_pkg_temp") as tz:
print(f"X86 temperature: {tz.temperature/1000:6.2f} C")
X86 temperature: 63.00 C