Random Screen dimming (while brightness slider stays at 100%) after A12 update

Hi everyone, I’ve made some other tests and debug yesterday.
Can confirm that it’s related to the quiet-therm-usr sensor.
With an sh script like this:

for VARIABLE in $(seq 0 95)
do
	cat /sys/devices/virtual/thermal/thermal_zone$VARIABLE/type
  	cat /sys/devices/virtual/thermal/thermal_zone$VARIABLE/temp
  	cat /sys/devices/virtual/thermal/thermal_zone$VARIABLE/trip_point_0_temp
done

I have got all the name, actual temperature and threshold of the sensors.
The list is long, but quiet-therm-usr is:

quiet-therm-usr 39416 43000

So, 39,4 C° actual temp and 43 C° the threshold.
Then I’ve tried to poll data while using the phone and the display dimmed when this sensor hit the threshold:

quiet-therm-usr
40046
43000

quiet-therm-usr
40178
43000

quiet-therm-usr
42570
43000

quiet-therm-usr
41695
43000

quiet-therm-usr
43105
43000

When the threshold is reached this sensor send an uevent and trigger a “cooling_device” called:

panel0-backlight
255
168

When the display is at full brightness is like this:

panel0-backlight
255
0

The value 255 is the “max_state” and 0 or 168 is the “cur_state”.
To fix this there is a thermal-engine.conf in the system folder, that actually is empty.
Or probably there is some configuration in the ROM firmware or proprietary blob.

Anyway I have updated the issue in Gitlab and asked if it can be fixed/patched with the next beta release.
Hope they are not on vacation, because now with high weather temperatures it’s dimming even indoor, when the air conditioning is off.

26 Likes