ubuntu-touch
ubuntu-touch copied to clipboard
Automatic brightness controll stopped working in OTA-22 on Volla Phone X
Description of the feature
Discovered that after OTA-22, enabling brightness control in battery indicator no longer starts to control screen brightness.
- Device: Volla Phone X
- Channel: Stable
- Build: OTA-22
Steps to reproduce
Enable automatic brightness inside Battery indicator or in system settings.
Expected behavior
Screen brightness should be adjusted depending on environment lighting after enabling that feature.
Actual behavior
Screen brightness is not automatically controlled. I can adjust it manually though.
Logfiles and additional information
tail -f ~/.cache/upstart/*.log
shows nothing related while switching brightness control off or on.
Please attach rather /var/log/repowerd log right after restart of the device, thanks!
2022-03-19T16:09:53.108425+02:00 ubuntu-phablet repowerd[1708]: main: Starting repowerd 2017.03
2022-03-19T16:09:53.108570+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Trying to create AndroidBacklight
2022-03-19T16:09:53.143491+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Failed to create AndroidBacklight: Failed to open Android lights module
2022-03-19T16:09:53.143596+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Trying to create SysfsBacklight
2022-03-19T16:09:53.144025+02:00 ubuntu-phablet repowerd[1708]: SysfsBacklight: Using backlight /sys/class/leds/lcd-backlight
2022-03-19T16:09:59.444553+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Failed to create UbuntuLightSensor: Failed to allocate light sensor
2022-03-19T16:09:59.444595+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Trying SensorfwLightSensor
2022-03-19T16:09:59.641185+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got new plugin for alssensor with pid 1708 and session 2
2022-03-19T16:09:59.641241+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got plugin_string alssensor
2022-03-19T16:09:59.641255+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got plugin_interface local.ALSSensor
2022-03-19T16:09:59.641311+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got plugin_path /SensorManager/alssensor
2022-03-19T16:09:59.646109+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Using config directory: /usr/share/repowerd/device-configs
2022-03-19T16:09:59.646159+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Using config directory: /usr/share/powerd/device_configs
2022-03-19T16:09:59.651315+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: parse_file(/usr/share/repowerd/device-configs/config-default.xml)
2022-03-19T16:09:59.665775+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: screenBrightnessDim=10
2022-03-19T16:09:59.665825+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: screenBrightnessSettingDefault=102
2022-03-19T16:09:59.665841+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: screenBrightnessSettingMaximum=255
2022-03-19T16:09:59.665854+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: automatic_brightness_available=false
2022-03-19T16:09:59.665867+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: criticalBatteryWarningLevel=4
2022-03-19T16:09:59.665881+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: shutdownBatteryTemperature=680
2022-03-19T16:09:59.665894+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceConfig: Property: screenBrightnessSettingMinimum=10
2022-03-19T16:09:59.685186+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceQuirks: DeviceName: yggdrasilx
2022-03-19T16:09:59.685260+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceQuirks: Quirk: synthetic_initial_proximit_event_delay=500
2022-03-19T16:09:59.685272+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceQuirks: Quirk: synthetic_initial_proximit_event_type=near
2022-03-19T16:09:59.685282+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceQuirks: Quirk: normal_before_display_on_autobrightness=true
2022-03-19T16:09:59.685292+02:00 ubuntu-phablet repowerd[1708]: AndroidDeviceQuirks: Quirk: ignore_session_deactivation=true
2022-03-19T16:09:59.699901+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Failed to create LibsuspendSystemPowerControl: Failed to initialize libsuspend
2022-03-19T16:09:59.699961+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Trying LogindSystemPowerControl
2022-03-19T16:09:59.744306+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Failed to create UbuntuProximitySensor: Failed to allocate proximity sensor
2022-03-19T16:09:59.744359+02:00 ubuntu-phablet repowerd[1708]: DefaultDaemonConfig: Trying SensorfwProximitySensor
2022-03-19T16:09:59.766074+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got new plugin for proximitysensor with pid 1708 and session 3
2022-03-19T16:09:59.766121+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got plugin_string proximitysensor
2022-03-19T16:09:59.766134+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got plugin_interface local.ProximitySensor
2022-03-19T16:09:59.766146+02:00 ubuntu-phablet repowerd[1708]: Sensorfw: Got plugin_path /SensorManager/proximitysensor
2022-03-19T16:09:59.797097+02:00 ubuntu-phablet repowerd[1708]: LogindSessionTracker: track_session(c1), type=mir
2022-03-19T16:09:59.797187+02:00 ubuntu-phablet repowerd[1708]: LogindSessionTracker: activate_session(c1)
2022-03-19T16:09:59.825793+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_getBrightnessParams() => (1,1,255,150,true)
2022-03-19T16:10:00.182716+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: add_display_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:00.190162+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: add_device_if_battery(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=empty, percentage=41.00, temperature=0.00
2022-03-19T16:10:00.194293+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: add_device_if_battery(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=28.90
2022-03-19T16:10:00.207453+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:00.217349+02:00 ubuntu-phablet repowerd[1708]: LogindSystemPowerControl: initialize_is_suspend_blocked(), BlockInhibited=
2022-03-19T16:10:00.253749+02:00 ubuntu-phablet repowerd[1708]: OfonoVoiceCallService: dbus_ModemAdded(/ril_0)
2022-03-19T16:10:00.261501+02:00 ubuntu-phablet repowerd[1708]: OfonoVoiceCallService: dbus_ModemAdded(/ril_1)
2022-03-19T16:10:00.264043+02:00 ubuntu-phablet repowerd[1708]: UnityDisplay: dbus_query_active_outputs()
2022-03-19T16:10:00.267844+02:00 ubuntu-phablet repowerd[1708]: UnityDisplay: dbus_ActiveOutputs(internal=1, external=0)
2022-03-19T16:10:00.280029+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: DeviceName: yggdrasilx
2022-03-19T16:10:00.280147+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: notification_expiration_timeout=60000
2022-03-19T16:10:00.280165+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: power_button_long_press_timeout=2000
2022-03-19T16:10:00.280289+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: treat_power_button_as_user_activity=false
2022-03-19T16:10:00.280305+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: turn_on_display_at_startup=true
2022-03-19T16:10:00.280321+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: user_inactivity_normal_display_dim_duration=10000
2022-03-19T16:10:00.280338+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: user_inactivity_normal_display_off_timeout=60000
2022-03-19T16:10:00.280354+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: user_inactivity_normal_suspend_timeout=9223372036854775807
2022-03-19T16:10:00.280370+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: user_inactivity_post_notification_display_off_timeout=5000
2022-03-19T16:10:00.285222+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachineOptions: Option: user_inactivity_reduced_display_off_timeout=10000
2022-03-19T16:10:00.285446+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: start
2022-03-19T16:10:00.292177+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: is_using_battery_power() => true
2022-03-19T16:10:00.292226+02:00 ubuntu-phablet repowerd[1708]: LogindSystemPowerControl: dbus_inhibit(idle:handle-lid-switch,repowerd handles idle and lid)...
2022-03-19T16:10:00.302869+02:00 ubuntu-phablet repowerd[1708]: LogindSystemPowerControl: dbus_inhibit(idle:handle-lid-switch,repowerd handles idle and lid) done
2022-03-19T16:10:00.303022+02:00 ubuntu-phablet repowerd[1708]: UbuntuPerformanceBooster: enable_interactive_mode()
2022-03-19T16:10:00.304430+02:00 ubuntu-phablet repowerd[1708]: UnityDisplay: turn_on(all)
2022-03-19T16:10:00.308920+02:00 ubuntu-phablet repowerd[1708]: LogindSystemPowerControl: change_manager_properties(), BlockInhibited=idle:handle-lid-switch
2022-03-19T16:10:00.318923+02:00 ubuntu-phablet repowerd[1708]: BacklightBrightnessControl: Transitioning brightness 0.00 => 0.59 in 59.00 steps 1694.92us each
2022-03-19T16:10:00.319065+02:00 ubuntu-phablet repowerd[1708]: UnityDisplay: dbus_ActiveOutputs(internal=1, external=0)
2022-03-19T16:10:00.444658+02:00 ubuntu-phablet repowerd[1708]: BacklightBrightnessControl: Transitioning brightness 0.00 => 0.59 done
2022-03-19T16:10:00.445020+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_emit_brightness(0.588235), brightness_value=150
2022-03-19T16:10:00.445227+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_emit_DisplayPowerStateChange(1,0)
2022-03-19T16:10:00.445371+02:00 ubuntu-phablet repowerd[1708]: OfonoVoiceCallService: set_fast_dormancy(/ril_1,false)
2022-03-19T16:10:00.445740+02:00 ubuntu-phablet repowerd[1708]: OfonoVoiceCallService: set_fast_dormancy(/ril_0,false)
2022-03-19T16:10:00.445843+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: allow_suspend
2022-03-19T16:10:01.230367+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:02.229893+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:03.450382+02:00 ubuntu-phablet repowerd[1708]: message repeated 2 times: [ UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00]
2022-03-19T16:10:03.681243+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=29.10
2022-03-19T16:10:03.682814+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:03.770428+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=29.20
2022-03-19T16:10:03.771352+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:06.561875+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_getBrightnessParams() => (1,1,255,150,true)
2022-03-19T16:10:06.571329+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_setUserBrightness(189)
2022-03-19T16:10:06.574917+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_set_normal_brightness_value(0.74)
2022-03-19T16:10:06.575350+02:00 ubuntu-phablet repowerd[1708]: BacklightBrightnessControl: Transitioning brightness 0.59 => 0.74 in 16.00 steps 1000.00us each
2022-03-19T16:10:06.597118+02:00 ubuntu-phablet repowerd[1708]: BacklightBrightnessControl: Transitioning brightness 0.59 => 0.74 done
2022-03-19T16:10:06.597296+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_emit_brightness(0.741176), brightness_value=189
2022-03-19T16:10:09.036126+02:00 ubuntu-phablet repowerd[1708]: LogindSystemPowerControl: change_manager_properties(), BlockInhibited=idle:handle-power-key:handle-suspend-key:handle-hibernate-key:handle-lid-switch
2022-03-19T16:10:09.229123+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_userAutobrightnessEnable(enable)
2022-03-19T16:10:09.232245+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: enable_autobrightness
2022-03-19T16:10:09.234103+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_setInactivityTimeouts(240,-1)
2022-03-19T16:10:09.240420+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_set_inactivity_behavior(display_off,battery,240000)
2022-03-19T16:10:09.240856+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_set_inactivity_behavior(display_off,line_power,240000)
2022-03-19T16:10:09.242281+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_setInactivityTimeouts(-1,230)
2022-03-19T16:10:11.178472+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_requestWakeup(:1.97,indicator-datetime,1647699601)
2022-03-19T16:10:11.178697+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_requestWakeup(:1.97,indicator-datetime,1647699601) => 4753688592420436564
2022-03-19T16:10:11.661794+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:13.076780+02:00 ubuntu-phablet repowerd[1708]: UnityDisplay: dbus_ActiveOutputs(internal=1, external=0)
2022-03-19T16:10:13.190246+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_setScreenPowerMode(:1.86,on,5)
2022-03-19T16:10:13.193008+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_notification
2022-03-19T16:10:17.671829+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_user_activity_extending_power_state
2022-03-19T16:10:19.271524+02:00 ubuntu-phablet repowerd[1708]: message repeated 2 times: [ DefaultStateMachine[c1]: handle_user_activity_extending_power_state]
2022-03-19T16:10:19.855852+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:19.889412+02:00 ubuntu-phablet repowerd[1708]: UnityScreenService: dbus_setScreenPowerMode(:1.86,off,5)
2022-03-19T16:10:19.894334+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_no_notification
2022-03-19T16:10:20.422993+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_user_activity_extending_power_state
2022-03-19T16:10:27.721721+02:00 ubuntu-phablet repowerd[1708]: message repeated 11 times: [ DefaultStateMachine[c1]: handle_user_activity_extending_power_state]
2022-03-19T16:10:28.050373+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:28.349623+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_user_activity_extending_power_state
2022-03-19T16:10:29.011643+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_user_activity_extending_power_state
2022-03-19T16:10:32.558140+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:32.564009+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=charging, percentage=41.00, temperature=28.80
2022-03-19T16:10:32.564559+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=charging, percentage=41.00, temperature=0.00
2022-03-19T16:10:32.564821+02:00 ubuntu-phablet repowerd[1708]: DefaultStateMachine[c1]: handle_power_source_change
2022-03-19T16:10:32.579371+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=charging, percentage=41.00, temperature=28.80
2022-03-19T16:10:32.580707+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=charging, percentage=41.00, temperature=0.00
2022-03-19T16:10:32.581233+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: is_using_battery_power() => false
2022-03-19T16:10:36.240254+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_cw_bat), type=battery, is_present=1, state=discharging, percentage=41.00, temperature=0.00
2022-03-19T16:10:43.176659+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=charging, percentage=41.00, temperature=29.10
2022-03-19T16:10:43.178522+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=charging, percentage=41.00, temperature=0.00
2022-03-19T16:10:43.209141+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/battery_battery), type=battery, is_present=1, state=charging, percentage=41.00, temperature=28.90
2022-03-19T16:10:43.214585+02:00 ubuntu-phablet repowerd[1708]: UPowerPowerSourceAndLid: change_device(/org/freedesktop/UPower/devices/DisplayDevice), type=battery, is_present=1, state=charging, percentage=41.00, temperature=0.00
I just noticed that the automatic brightness does not work in OTA-22 on Pixel 3a
I also have problems on SHIFT 6mq with autobrightness on devel channel. So it might be a regression we missed. We will look into repowerd commits.
Does OTA-23 fixed the issue ?
No its even better, I reinstalled it with bootstrap on devel since @amartinz told me its working for him. Then autobrightness started to work, but only after next reboot. Now its again broken
I have done some more extensive testing and noticed, that this could be a race condition.
Whenever it stops working, i got the following log prints:
Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.powerd was not provided by any .service files
If i then restart repowerd (service repowerd restart
) autobrightness starts to work again.
Repowerd
is configured to start right after dbus
and the android container are up:
-
start on started dbus and android
Maybe it helps to delay start of repowerd
to give it some more time and move it to start after lightdm
is up?
-
start on started dbus and lightdm
I think we should delay it after sensorfw since before we had only a dependency on libs but now its a service, so unless this is started no brightness values could be read, and repowerd will not retry to inizialize that connection, rather it resorts to using a dummy driver that does nothing.
Any news with OTA-23 rc? I an mot sure I want to install RC on my daily driver... Or maybe I should?
Wie release RC to stable tomorrow, so :P
So I guess more months with bug-ridden Volla Phone :(
@Talkless well I dont own the device, I cannot test it and help you. I also see intermittent problems with autobrightness on Halium 10 devices, as there is a race condition for stsartup of sensors. We will look into this in the next OTA, but not sure it will fix your issue.
Issue exists on OTA-23 too.
Does actually manual brightness work?
I'm on a Volla Phone X with OTA-23 and manually setting brightness works, but automatic brightness control doesn't seem to do anything.
It could be fixed by this commit on devel: https://gitlab.com/ubports/development/core/repowerd/-/commit/86e26b9360e2b54dafc9c2fcac8f777e97ae66c3