Screen is turned off after timeout during call

Bug #1269611 reported by Pat McGowan on 2014-01-15
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dialer-app (Ubuntu)
Gustavo Pichorim Boiko
powerd (Ubuntu)
Michael Frey

Bug Description

Using the phone on a normal call not on speaker phone
The proximity sensor properly turns the screen off or on
After the set UI inactivity timeouts, the screen is first dimmed and then turned off
Taking the phone away to end the call, the screen remains off and the user needs to use the power button to wake it up

The app (or some layer) needs to inhibit the power manager from controlling the screen during the call

Related branches

Bill Filler (bfiller) wrote :

Steps to reproduce:
1) make a phone call
2) stay on the call for a few minutes, long enough that the phone thinks it's sleeping, with the phone next to your ear
3) when you want to hang up the call, move the phone away

Expected result:
the screen turns on and you press hangout button

Actual result:
the screen is black when you move it away from your ear. you have to press the power button to make it come on

Bill Filler (bfiller) wrote : - see requestDisplayState() which is a dbus api for powerd.
Something in the service layer (ofono, telephony-service) should call this dbus api when call activated/deactivated to ensure proximity sensor controls the screen and doesn't turn the screen off completely when on a call

Pat McGowan (pat-mcgowan) wrote :

Easiest way is probably to add the display request to powerd.cpp where the proximity enable/disable request is currently made.
Should consider whether we need to inhibit suspend as well although that does not seem to be an issue.

Bill Filler (bfiller) on 2014-01-16
Changed in powerd (Ubuntu):
importance: Undecided → High
assignee: nobody → Seth Forshee (sforshee)
status: New → Confirmed
Changed in dialer-app (Ubuntu):
status: New → Confirmed
Seth Forshee (sforshee) wrote :

I'm not responsible for powerd anymore. Reassigning to phonedations.

Changed in powerd (Ubuntu):
assignee: Seth Forshee (sforshee) → Canonical Phone Foundations (canonical-phonedations-team)
Seth Forshee (sforshee) wrote :

Okay so launchpad suggests that maybe assigning to phonedations was the wrong thing to do, so I'll just assign to ChickenCutlass and let him decide who should work on it.

Changed in powerd (Ubuntu):
assignee: Canonical Phone Foundations (canonical-phonedations-team) → Michael Frey (mfrey)
Michael Frey (mfrey) wrote :

Fixed in MR

Keep display ON during call so lock screen does not present.

Changed in powerd (Ubuntu):
status: Confirmed → Fix Committed
Changed in dialer-app (Ubuntu):
status: Confirmed → Fix Committed
Sergio Schvezov (sergiusens) wrote :

The only small issue is that if I hang up on the other end, the instant it's hung up it immediately blanks where we may want it to stay on for a couple more seconds to look at the call stats. I'll add this comment to the bug, since it may be that the dialer would need to release later than sooner

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powerd - 0.13+14.04.20140124-0ubuntu1

powerd (0.13+14.04.20140124-0ubuntu1) trusty; urgency=low

  [ Michael Frey ]
  * Keep DISPLAY_ON for proximity sensor while on a call so the lock
    screen does not present itself (Fix for LP: #1269611). (LP:

  [ Dimitri John Ledkov ]
  * Build-depend on python:any, instead of python. Fixes FT-X-BFS.

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 110
 -- Ubuntu daily release <email address hidden> Fri, 24 Jan 2014 14:29:46 +0000

Changed in powerd (Ubuntu):
status: Fix Committed → Fix Released
Changed in dialer-app (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers