mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 21:32:14 +00:00
We added four new thermal zones in wahoo. First 4 thermal_zone (0-3)
now are:
mnh_ipu1, mnh_ipu2, mnh_cpu, mnh_lpddr
so we need to shift all our thermal zone offsets by 4. This is also
causing an IO error whenever we call getTemperatures() since the battery
sensor tries to read mnh_ipu1:
taimen:/ # cat /sys/class/thermal/thermal_zone0/type
mnh_ipu1
taimen:/ # cat /sys/class/thermal/thermal_zone0/temp
cat: /sys/class/thermal/thermal_zone0/temp: I/O error
taimen:/ # cat /sys/class/thermal/thermal_zone4/type
battery
taimen:/ # cat /sys/class/thermal/thermal_zone4/temp
19800
Bug: 75842171
Test: VtsHalThermalV1_0TargetTest pass
Change-Id: Iaa54bd69caaa3b9a16324709d6b858a7dec6200e