Wake on laptop lid open

I am wanting to configure my laptop lid so that when I open it it will wake the laptop, if not already awake, and shutting the lid will do nothing. There is the option in GNOME to suspend on laptop lid close, which I have tested as working, but there is no options when it comes to lid opening.

Hi, welcome to these forums.

Resume on opening the laptop’s lid should be the default action when lid-close is defined as ‘suspend’. This doesn’t work in your case?

I’m also having problems with the suspend on lid close since some days ago. It seems that something broke with the recent updates. Now if i close the lid nothing happens. I tried configuring it with the xfce-power-manager but anything that i change in the config is not saved for some reason. Then i tried editing “/etc/systemd/logind.conf” enabling lid switch suspend options:

HandleLidSwitch=suspend

HandleLidSwitchDocked=suspend

Rebooted but still not working. I’m really out of options, i couldn’t find any other suggestion to fix this.
Any help will be appreciated.