Still trying to get my head around this. If I manually create a wakelock:
    sudo bash -c "echo mylock > /sys/power/wake_lock"
then I can't reproduce the bug (tried 20 times anyway). If I remove that 
wakelock:
    sudo bash -c "echo mylock > /sys/power/wake_unlock"
then yes, I get the bug again. Sadly there's no /proc/wakelocks to get the 
wakelock state.

Seeing the Greeter have a black background makes me suspicious too. Is
phone going to deep sleep before unity8 is ready - as Greeter should be
drawn on screen after display is turned off, not before display is
turned on.

I need to learn how powerd is interacting with wakelocks

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

Title:
  foreground app should keep wakelock open until actual suspend happens

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

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

Reply via email to