[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1078973: Please consider building xfce4-power-manager with --disable-network-manager



package: xfce4-power-manager
version: 4.18.4-1
Hello,
I set lid close action in the system tab of the power manager to sleep. When I closed the lid of my portable computer, I noticed a delay before the machine actually went to sleep. This delay does not occur when running systemctl suspend so I investigated. The code in the power manager is sending a dbus message to try and tear down networking before the machine sleeps. This doesn't get through to network manager because the message the power manager sends is being blocked by the dbus system security policy. I think this code must have been written a long time ago. The power manager trying to tear down networking is not necessary, because systemd-logind now tears down networking on suspend. Building with --disable-network-manager makes my suspend time immediate when closing the lid.

Reply to: