← Back to team overview

touch-packages team mailing list archive

[Bug 1383277] Re: Power dialog sometimes shown on resume

 

It appears there are multiple ways to reproduce the same symptom, which
may be several different technical fixes.  Here is one:

1) Download and set
https://launchpadlibrarian.net/187754062/mountain.jpeg as your phone's
background image.

2) In an "adb shell", run:

(while true; do true; done) & (while true; do true; done) & (while true;
do true; done) & (while true; do true; done) &

This will max out the four CPUs on a krillin device.  (It would be nice
if the 'stress' package was available for ubuntu-rtm.  Is there a
smarter way to do the above?  Something that wouldn't involve manually
killing the forked jobs?)

3) Now from the dash, suspend the device.
4) Wait a few seconds.
5) Turn the device on.

About 80% of the time, you will see the power dialog.

The lp:~mterry/unity8/power-button-on-lock branch should fix this.  But
it seems there are other ways to trigger the power dialog, something to
do with roaming and sms messages.  So I'm still looking at this bug.
Clear reproduction steps for the other ways would be great.

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

Title:
  Power dialog sometimes shown on resume

Status in the base for Ubuntu mobile products:
  In Progress
Status in unity8 package in Ubuntu:
  In Progress
Status in unity8 package in Ubuntu RTM:
  In Progress

Bug description:
  Unfortunately no good steps to reproduce, other than "resume your
  phone", from time to time you'll get the power dialog displayed on
  screen.

  The reason for this could be twofold: a) you pressed the power button
  in your pocket b) input is confused and keyUp event does not reach
  unity8.

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


References