Suspend takes >20 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd-shim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
My ThinkPad X220 with Ubuntu 13.10 (upgraded from previous versions) takes 20 seconds or more to suspend. This wasn't the case with 13.04.
During those 20 seconds I can reactivate the screen (which turns off properly) and then login and use the laptop (until it suspends after some time). If I login before suspend, I don't have to login on resume.
The issue is present with all of these ways to suspend:
- closing the lid
- using the Unity menu -> "Suspend"
- sudo gdbus call -y -d org.freedesktop
Calling "sudo pm-suspend" on the other hand always works immediately. I can't use this as a workaround, because it doesn't ask for the password on resume.
For logs, see this bugreport: https:/
pm-utils version is 1.4.1-12ubuntu1
I don't know if this is designed like this on purpose or a (related?) bug: The login screen I get after resume is quite different from the one I get on normal startup (see other bug report for details on that).
> I don't know if this is designed like this on purpose or a (related?) bug: The login screen I get after resume is quite different from the one I get on normal startup
Yes, that's the screensaver, while the initial one is lightdm.
As pm-suspend works, this is not a bug in pm-utils but somewhere in the higher levels. Can you please enable system D-BUS debugging as on https:/ /wiki.ubuntu. com/DebuggingDB us and create/attach a system D-BUS debug log what happens when you run "sudo gdbus call -y -d org.freedesktop .login1 -o /org/freedeskto p/login1 [...]" or just use the unity menu?