Bug 383852 - Suspending to RAM sometimes takes to much time
Summary: Suspending to RAM sometimes takes to much time
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-22 12:55 UTC by Alexander Mentyu
Modified: 2024-12-23 18:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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