Change temperature reading in Widget?

Started by Cyberturtle, June 09, 2023, 12:20:19 PM

Previous topic - Next topic
Hi there,

a few weeks ago I've recognized that die temperature widget seems to show higher temperatures than reading via CLI. I just have had a look into the sources and it seems that the reading of the widget uses a different way, so I started comparing the results.

Using
sysctl -a dev.cpu | grep temperature
returns lower temperatures
dev.cpu.3.temperature: 41.0C
dev.cpu.2.temperature: 41.0C
dev.cpu.1.temperature: 41.0C
dev.cpu.0.temperature: 41.0C


than
sysctl -a | grep temperature
which returns
hw.acpi.thermal.tz0.temperature: 40.1C
dev.cpu.3.temperature: 45.0C
dev.cpu.2.temperature: 45.0C
dev.cpu.1.temperature: 45.0C
dev.cpu.0.temperature: 44.0C


The second variant takes a bit longer and creates higher load on the CPU. My Firewall device uses a Intel J4125. What do you think about the results?

Best regards
Cyberturtle

I don't know why this is the case, but I experience the same behaviour with my device also based on J4125.