<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jannisch</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jannisch"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Jannisch"/>
	<updated>2026-05-01T05:55:28Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Suspend_on_LID_close&amp;diff=13027</id>
		<title>Suspend on LID close</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Suspend_on_LID_close&amp;diff=13027"/>
		<updated>2016-11-20T02:07:24Z</updated>

		<summary type="html">&lt;p&gt;Jannisch: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This article explanis how to make your laptop go to Suspend when closing the LID.&lt;br /&gt;
&lt;br /&gt;
This can be done via acpid with a hook in /etc/acpi/LID/00000080:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;a) with pm-utils:&#039;&#039;&#039;&lt;br /&gt;
{{cmd|apk add pm-utils}}&lt;br /&gt;
{{cat|/etc/acpi/LID/00000080|#!/bin/sh&lt;br /&gt;
exec pm-suspend&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;b) with this raw variant:&#039;&#039;&#039;&lt;br /&gt;
{{cat|/etc/acpi/LID/00000080|#!/bin/sh&lt;br /&gt;
echo mem &amp;gt; /sys/power/state&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Make the hook executable:&lt;br /&gt;
{{cmd|chmod +x /etc/acpi/LID/00000080}}&lt;br /&gt;
&lt;br /&gt;
And that should be it. Make sure that the acpid daemon is running:&lt;br /&gt;
{{cmd|/etc/init.d/acpid start}}&lt;/div&gt;</summary>
		<author><name>Jannisch</name></author>
	</entry>
</feed>