← Back to team overview

touch-packages team mailing list archive

[Bug 1359530] Re: Device trying to suspend when screen is turned off by proximity sensor (during a call)

 

Yeah, checking android this is actually an expected behavior (the phone
will not suspend anyway because of a wakelock).

The question I had initially was actually regarding the proximity
sensor, and how would that work when an app decides to use it without
any general suspend blocker. Not sure if the hardware will trigger the
cpu in order for the device to not be suspended when the proximity
sensor is active.

But at least for voicecall, you're right, we can mark this bug as
invalid.

** Changed in: powerd
       Status: In Progress => Invalid

** Changed in: powerd (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to powerd in Ubuntu.
https://bugs.launchpad.net/bugs/1359530

Title:
  Device trying to suspend when screen is turned off by proximity sensor
  (during a call)

Status in PowerD:
  Invalid
Status in Unity System Compositor:
  Invalid
Status in “powerd” package in Ubuntu:
  Invalid
Status in “unity-system-compositor” package in Ubuntu:
  Invalid

Bug description:
  phablet@ubuntu-phablet:~$ system-image-cli -i
  current build number: 202
  device name: krillin
  channel: ubuntu-touch/utopic-proposed
  last update: 2014-08-21 03:59:43
  version version: 202
  version ubuntu: 20140821
  version device: 20140811.1

  Device tries to suspend when the screen is turned off by the proximity
  sensor (when a voicecall is in place).

  Looking at powerd, there's no active suspend blocker when the
  proximity sensor disables the screen, forcing powerd to go in suspend
  state.

  The device shouldn't try to suspend when a voicecall is active (or
  when the proximity sensor is the one turning the screen off).

  When the call starts:
  powerd-cli: Running as user is not fully supported.
  System State Requests:
    Name: com.canonical.Unity.Screen, Owner: :1.18, State: 1

  After putting my hand on top of the device (to trigger the proximity sensor):
  phablet@ubuntu-phablet:~$ powerd-cli list
  powerd-cli: Running as user is not fully supported.
  System State Requests:
    None

To manage notifications about this bug go to:
https://bugs.launchpad.net/powerd/+bug/1359530/+subscriptions


References