[Bug 1766683] [NEW] Kubuntu 18.04: No hibernation when closing lid

Launchpad Bug Tracker 1766683 at bugs.launchpad.net
Fri Apr 27 12:44:52 UTC 2018


You have been subscribed to a public bug by Rik Mills (rikmills):

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

** Affects: powerdevil (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: bot-comment
-- 
Kubuntu 18.04: No hibernation when closing lid
https://bugs.launchpad.net/bugs/1766683
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to the bug report.




More information about the kubuntu-bugs mailing list