Files
device_google_wahoo/thermal
Miguel de Dios 5a2137fd80 Fix the thermal zone offsets for thermalHAL in wahoo.
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
2018-03-19 19:25:28 -07:00
..