Loki Lid close -- do not suspend

Discussion in 'Software & Applications' started by Dimavicius, Sep 17, 2016.

  1. Dimavicius

    Dimavicius Thread Starter
    Expand Collapse
    New Member

    Joined:
    Sep 17, 2016
    Messages:
    1
    Likes Received:
    0
    Hello,
    I want my laptop (Lenovo M30) to not suspend when lid close on AC power. And suspend on battery. I already made these changes:

    1.
    dconf editor -> org -> gnome -> settings daemon -> plugins -> power

    -> lid-close-ac-action
    -> lid-close-battery-action

    2.
    sudo vim /etc/systemd/logind.conf

    find line "#HandleLidSwitch=suspend"
    Replace line with "HandleLidSwitch=ignore"

    3.
    sudo nano /etc/UPower/UPower.conf
    set "IgnoreLid" to true

    Still no use. Laptop suspend when I close the lid. Is it possible to make it work?

    P.S. It started working normaly anyhow. Thanks.
     
    #1 Dimavicius, Sep 17, 2016
    Last edited: Sep 19, 2016

Share This Page

Loading...