While I cannot yet reproduce it I have a germ of a theory. From the logs
I see that both Peter and Mathew have autobrightness enabled. I also see
that the powerd logic is explicitly setting the brightness to zero
seemingly independent of the proximity reading. So perhaps we have a
race between proximity, screen on and off, and autobrightness which is
confusing powerd into a bad state.

@peter please try turning Adjust brightness automatically to off in the
battery indicator and see if you still get the issue.

Mathew's log

Dec  7 09:41:58 ubuntu-phablet powerd[720]: set brightness 55
Dec  7 09:41:58 ubuntu-phablet powerd[720]: light_dev: setting brightness to 55
Dec  7 09:42:00 ubuntu-phablet powerd[720]: light_dev: setting brightness to 15
Dec  7 09:42:03 ubuntu-phablet powerd[720]: light_dev: setting brightness to 0

Peter's log
Mar  8 23:44:58 ubuntu-phablet powerd[757]: set brightness 12
Mar  8 23:44:58 ubuntu-phablet powerd[757]: light_dev: setting brightness to 12
Mar  8 23:44:58 ubuntu-phablet powerd[757]: turn_display_on(0)
Mar  8 23:44:58 ubuntu-phablet powerd[757]: light_dev: setting brightness to 0

Mar  8 23:44:59 ubuntu-phablet powerd[757]: light_dev: setting brightness to 12
Mar  8 23:45:00 ubuntu-phablet powerd[757]: we get signal from :1.40: 
DisplayPowerStateChange
Mar  8 23:45:00 ubuntu-phablet powerd[757]: Received DisplayPowerStateChange: 
state=1 flags=2
Mar  8 23:45:00 ubuntu-phablet powerd[757]: set brightness 12
Mar  8 23:45:01 ubuntu-phablet powerd[757]: light_dev: setting brightness to 0

Mar  8 23:45:02 ubuntu-phablet powerd[757]: turn_display_on(0)
Mar  8 23:45:02 ubuntu-phablet powerd[757]: turn_display_on(0)
Mar  8 23:45:02 ubuntu-phablet powerd[757]: light_dev: setting brightness to 0

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1493574

Title:
  [vegeta] Phone app makes screen stay black during call (so you can't
  hang up)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1493574/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to