** Description changed: - On a fresh Kubuntu 18.04beta with all pachages upgraded, hibernation works fine when triggered manually, but closing the lid doesn't get the laptop to hibernate. Upstream bug: "powerdevil defaults to do nothing when closing laptop lid" (https://bugs.kde.org/show_bug.cgi?id=391782) + + Fix committed upstream: + https://cgit.kde.org/powerdevil.git/commit/?id=be91abe7fc8cc731b57bec4cf2c004c07b0fd79b The importance of this issue should be raised, since users might damage their laptops by carrying them without realizing they're not suspended, as reported here: https://bugs.kde.org/show_bug.cgi?id=349750 Adding the following lines to ~/.config/powermanagementprofilesrc leads to the desired behaviour: diff --git a/.config/powermanagementprofilesrc b/.config/powermanagementprofilesrc index cedec28..26c0e3c 100644 --- a/.config/powermanagementprofilesrc +++ b/.config/powermanagementprofilesrc @@ -1,2 +1,17 @@ +[AC][HandleButtonEvents] +lidAction=1 +powerButtonAction=0 +triggerLidActionWhenExternalMonitorPresent=false + +[Battery][HandleButtonEvents] +lidAction=1 +powerButtonAction=0 +triggerLidActionWhenExternalMonitorPresent=false + +[LowBattery][HandleButtonEvents] +lidAction=1 +powerButtonAction=0 +triggerLidActionWhenExternalMonitorPresent=false + [migration] kdedShortcutMigration=true ---------- Additional informations lsb_release -rd Description: Ubuntu Bionic Beaver (development branch) Release: 18.04 uname -a Linux 4.15.0-19-generic #20-Ubuntu SMP Sun Apr 22 00:03:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux swapon -s Filename Type Size Used Priority /dev/dm-1 partition 999420 0 -2
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1766683 Title: Kubuntu 18.04beta: No hibernation when closing lid To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/1766683/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
