Bug 383852

Summary: Suspending to RAM sometimes takes to much time
Product: [Plasma] plasmashell Reporter: Alexander Mentyu <notuxius>
Component: Networking in generalAssignee: Jan Grulich <jgrulich>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: jgrulich, kde
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Mentyu 2017-08-22 12:55:15 UTC
Usual suspending takes 1-2 seconds - but sometimes suspending takes 5-7 seconds.

Looks like it happens more often when 'Lock screen on resume' option is disabled in 'Screen Locking' settings.
Comment 1 Alexander Mentyu 2017-08-22 13:02:15 UTC
Though, i noticed similar behavior also in X session.
Comment 2 Kai Uwe Broulik 2017-08-28 09:46:08 UTC
On my machine it is NetworkManager delaying suspend by up to 10 seconds. 

qdbus --system --literal org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager.ListInhibitors

This will show ""sleep", "NetworkManager", "NetworkManager needs to turn off networks"" and this will take forever.
Comment 3 Jan Grulich 2017-10-02 08:38:50 UTC
I don't think I can do anything about this. The problem appears to be in NetworkManager.
Comment 4 Ben Cooksley 2024-12-23 18:23:45 UTC
Bulk transfer as requested in T17796