fossfreedom/indicator-sysmonitor

CPU temperature is wrong in ubuntu 18.04 LTS on Huawei-Matebook-14

linweilin opened this issue · 2 comments

$ sensors
coretemp-isa-0000
Adapter: ISA adapter
Package id 0: +36.0°C (high = +100.0°C, crit = +100.0°C)
Core 0: +36.0°C (high = +100.0°C, crit = +100.0°C)
Core 1: +36.0°C (high = +100.0°C, crit = +100.0°C)
Core 2: +36.0°C (high = +100.0°C, crit = +100.0°C)
Core 3: +35.0°C (high = +100.0°C, crit = +100.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1: N/A (high = +95.0°C, hyst = +3.0°C)
(crit = +105.0°C, hyst = +5.0°C)
(emerg = +135.0°C, hyst = +5.0°C)

same as this #108

Refer to the answer of WinEunuuchs2Unix in question hardware - How do I get the CPU temperature? - Ask Ubuntu
I use a command-line as below to check the temperature of my sensors.

$ paste <(cat /sys/class/thermal/thermal_zone*/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'
acpitz        27.8°C
x86_pkg_temp  39.0°C
SEN1          32.0°C
SEN2          32.0°C
SEN3          31.0°C
SEN4          28.0°C
SEN5          31.0°C
SEN6          33.0°C
SEN7          32.0°C
B0D4          39.0°C
iwlwifi_1     36.0°C

Then, I found this can output the last temperature x86_pkg_temp

$ paste <(cat /sys/class/thermal/thermal_zone10/type) <(cat /sys/class/thermal/thermal_zone*/temp) | column -s $'\t' -t | sed 's/\(.\)..$/.\1°C/'
x86_pkg_temp  27.8°C
40.0°C
32.0°C
32.0°C
31.0°C
28.0°C
31.0°C
33.0°C
32.0°C
40.0°C
35.0°C