touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #11769
[Bug 1359530] Re: Device trying to suspend when screen is turned off by proximity sensor (during a call)
** Description changed:
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
-
- TEST CASE:
-
- Run this script in a host machine:
- while true; do
- adb shell gdbus call --system -d com.canonical.Unity.Screen -o /com/canonical/Unity/Screen \
- -m com.canonical.Unity.Screen.setScreenPowerMode on 3
- adb shell gdbus call --system -d com.canonical.Unity.Screen -o /com/canonical/Unity/Screen \
- -m com.canonical.Unity.Screen.setScreenPowerMode off 3
- done
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-system-compositor 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 Unity System Compositor:
New
Status in “unity-system-compositor” package in Ubuntu:
Confirmed
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/unity-system-compositor/+bug/1359530/+subscriptions
References