Power "When the lid is closed" setting does nothing

Bug #1608359 reported by Haw Loeung
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Hi,

Probably the opposite of LP: #1574120, after upgrading from Xenial to Yakkety (alpha 2), it seems my laptop automatically goes into suspend when the lid is closed even though I have "When the lid is closed" setting set to "Do nothing".

I'm not sure what's changed, has the HandleLidSwitch default in logind changed? Also, any chance of fixing the "Power" setting so it correctly handles updating logind?

I had to update /etc/systemd/logind.conf and add "HandleLidSwitch=ignore".

Tags: yakkety
Haw Loeung (hloeung)
tags: added: yakkety
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Unity-control-center didn't change so it's not likely due to it. Could you copy the output of "systemd-inhibit" to the bug?

Changed in unity-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Haw Loeung (hloeung) wrote :

     Who: NetworkManager (UID 0/root, PID 18098/NetworkManager)
    What: sleep
     Why: NetworkManager needs to turn off networks
    Mode: delay

     Who: hloeung (UID 3134/hloeung, PID 2995/unity-settings-)
    What: handle-power-key:handle-suspend-key:handle-hibernate-key
     Why: GNOME handling keypresses
    Mode: block

     Who: hloeung (UID 3134/hloeung, PID 2995/unity-settings-)
    What: sleep
     Why: GNOME needs to lock the screen
    Mode: delay

     Who: hloeung (UID 3134/hloeung, PID 2995/unity-settings-)
    What: handle-lid-switch
     Why: Multiple displays attached
    Mode: block

     Who: Unity (UID 3134/hloeung, PID 3062/compiz)
    What: sleep
     Why: Unity needs to lock the screen
    Mode: delay

5 inhibitors listed.

Changed in unity-control-center (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

the desktop side didn't change and there is an inhibitor listed, likely to be a systemd issue

affects: unity-control-center (Ubuntu) → systemd (Ubuntu)
Revision history for this message
Dan Dart (dandart) wrote :

This powerdevil bug explains a workaround for until Ubuntu updates systemd.
https://bugs.kde.org/show_bug.cgi?id=366402

Revision history for this message
Dan Dart (dandart) wrote :

I think it is now just a matter of releasing the update and/or the config change:

LidSwitchIgnoreInhibited=no

Revision history for this message
Dan Streetman (ddstreet) wrote :

please reopen if this is still an issue

Changed in systemd (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.