Unblanking Volla Phone with autobrightness on goes to 0% for 5 seconds
On Volla Phone with UT 20.04 (r427) when unblanking with autobrightness enabled the screen goes to 0% brightness for 5 seconds until coming back to the expected level: focal-repowerd-volla-autobright-weird
journalctl -f
shows the following repowerd
related logs:
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: DefaultStateMachine[c1]: handle_power_button_press
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: LibsuspendSystemPowerControl: disallow_suspend(DefaultStateMachine)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: LscDisplay: turn_on(all)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: Transitioning brightness 0.00 => 0.23 transition time 250000us
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: LscDisplay: dbus_ActiveOutputs(internal=1, external=0)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: Transitioning brightness 0.00 => 0.23 done
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: UnityScreenService: dbus_emit_brightness(0.225881), brightness_value=58
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: OfonoVoiceCallService: set_fast_dormancy(/ril_0,false)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: UnityScreenService: dbus_emit_DisplayPowerStateChange(1,2)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: OfonoVoiceCallService: set_fast_dormancy(/ril_1,false)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: DefaultStateMachine[c1]: handle_power_button_release
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: new_autobrightness_value(0.00)
Mar 13 11:31:00 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: Transitioning brightness 0.23 => 0.00 transition time 250000us
Mar 13 11:31:01 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: Transitioning brightness 0.23 => 0.00 done
Mar 13 11:31:01 ubuntu-phablet repowerd[1559]: UnityScreenService: dbus_emit_brightness(0.003922), brightness_value=1
Mar 13 11:31:02 ubuntu-phablet repowerd[1559]: DefaultStateMachine[c1]: handle_alarm(suspend_delay)
Mar 13 11:31:05 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: new_autobrightness_value(0.23)
Mar 13 11:31:05 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: Transitioning brightness 0.00 => 0.23 transition time 250000us
Mar 13 11:31:05 ubuntu-phablet repowerd[1559]: BacklightBrightnessControl: Transitioning brightness 0.00 => 0.23 done
Mar 13 11:31:05 ubuntu-phablet repowerd[1559]: UnityScreenService: dbus_emit_brightness(0.225843), brightness_value=58
repowerd[1559]: BacklightBrightnessControl: new_autobrightness_value(0.00)
looks to be the issue here, the autobrightness sensor reports 0% when the device unblanks and only gets correct value 5 seconds later
Edited by Jami Kettunen