[Bug 1014891] Re: Laptop doesn't suspend when power is unplugged while lid is closed
reassigning, xfce doesn't use gnome-settings-daemon+ ** Package changed: gnome-settings-daemon (Ubuntu) = xfce4-power- manager (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1014891 Title: Laptop doesn't suspend when power is unplugged while lid is closed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1014891/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1014891] Re: Laptop doesn't suspend when power is unplugged while lid is closed
This bug is now identified as a shortcoming in gnome-settings-daemon. A work around is available. ** Package changed: linux (Ubuntu) = gnome-settings-daemon (Ubuntu) ** Changed in: gnome-settings-daemon (Ubuntu) Status: Expired = Confirmed -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1014891 Title: Laptop doesn't suspend when power is unplugged while lid is closed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1014891/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 1014891] Re: Laptop doesn't suspend when power is unplugged while lid is closed
This is an annoying shortcoming in the current gnome-settings (used to be gnome-power-manager). It does not check whether it should suspend when entering on-battery state. Here's a work-around: Put the following into an (executable) file /etc/pm/power.d/zzsleepiflidclosed #!/bin/sh # If the lid is closed, then sleep when we are switched to battery mode. case $1 in true) # Going into battery mode. sleep 1 grep -q closed /proc/acpi/button/lid/*/statedbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend ;; false) # Going into line power mode ;; *) exit ;; esac exit 0 I don't know why the sleep 1 pause is necessary, but without it, my lenovo won't resume stably. 2 seconds may be needed. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1014891 Title: Laptop doesn't suspend when power is unplugged while lid is closed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xfce4-power-manager/+bug/1014891/+subscriptions -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs