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

Nicolas 1766683 at bugs.launchpad.net
Wed Apr 25 08:50:10 UTC 2018


** Description changed:

- I installed Kubuntu 18.04beta on a Thinkpad x230 and upgraded all packages.
- Hibernation works fine when triggered manually, but closing the lid doesn't get the laptop to hibernate.
  
+ 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.
  
- Adding the following lines to ~/.config/powermanagementprofilesrc leads to the desired behaviour:
+ Upstream bug: "powerdevil defaults to do nothing when closing laptop
+ lid" (https://bugs.kde.org/show_bug.cgi?id=391782)
+ 
+ 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
+  [migration]
+  kdedShortcutMigration=true
  
  ----------
  
  Additional informations
  
  lsb_release -rd
  
-   Description:    Ubuntu Bionic Beaver (development branch)
-   Release:        18.04
+   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
+   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
+   Filename                 Type            Size    Used    Priority
+   /dev/dm-1                partition       999420  0       -2

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in 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




More information about the kubuntu-bugs mailing list