** 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.
+ 
+ 
+ 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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to