My laptop goes into sleep whenever I close the lid
by smallhuman from LinuxQuestions.org on (#55S1K)
Hi guys,
My linux is Bodhi linux 5.1.0, and my laptop is Lenovo Yoga 300.
As the title says, my laptop goes into sleep state whenever I close the lid. I don't want that, so I tried to change the power settings. But the linux does not provide detailed power setting options and almost no power setting options tool on Google does not work. I tried acpi bindings, key bindings, tlp, xconfig(something like that?) etc. And none of them work.
I am okay with one of both options.
(1) changing the action which linked with the action 'lid close'
(2) completely disable suspend or sleep mode (Hibernate is okay)
Thank you in advance!


My linux is Bodhi linux 5.1.0, and my laptop is Lenovo Yoga 300.
As the title says, my laptop goes into sleep state whenever I close the lid. I don't want that, so I tried to change the power settings. But the linux does not provide detailed power setting options and almost no power setting options tool on Google does not work. I tried acpi bindings, key bindings, tlp, xconfig(something like that?) etc. And none of them work.
I am okay with one of both options.
(1) changing the action which linked with the action 'lid close'
(2) completely disable suspend or sleep mode (Hibernate is okay)
Thank you in advance!