HowTo Prevent A Laptop Lid Close Suspension: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Line 4: Line 4:


== Edit Configuration File for systemd-logind.service ==
== Edit Configuration File for systemd-logind.service ==
The systemd-logind.service has a configuration file: "'''[https://www.freedesktop.org/software/systemd/man/logind.conf.html /etc/systemd/logind.conf]'''"
The '''systemd-logind.service''' has a configuration file: "'''[https://www.freedesktop.org/software/systemd/man/logind.conf.html /etc/systemd/logind.conf]'''" that contains an entry for controlling the system power when the lid switch is in the '''Closed''' position.

Revision as of 07:22, 4 January 2018

Overview

This page demonstrates how one can shut the lid of a laptop computer running NST and still have NST run without being suspended. This is especially useful when NST is booted in console mode. The systemd-logind.service can be configured to "ignore" the suspension system power action.

Edit Configuration File for systemd-logind.service

The systemd-logind.service has a configuration file: "/etc/systemd/logind.conf" that contains an entry for controlling the system power when the lid switch is in the Closed position.