/[gentoo]/xml/htdocs/doc/en/power-management-guide.xml
Gentoo

Diff of /xml/htdocs/doc/en/power-management-guide.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.41 Revision 1.42
1<?xml version='1.0' encoding="UTF-8"?> 1<?xml version='1.0' encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.41 2009/08/12 02:24:57 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/power-management-guide.xml,v 1.42 2010/01/22 15:48:00 nightmorph Exp $ -->
4<guide link="/doc/en/power-management-guide.xml"> 4
5<guide>
5<title>Power Management Guide</title> 6<title>Power Management Guide</title>
6 7
7<author title="Author"> 8<author title="Author">
8 <mail link="earthwings@gentoo.org">Dennis Nienhüser</mail> 9 <mail link="earthwings@gentoo.org">Dennis Nienhüser</mail>
9</author> 10</author>
10<author title="Editor"> 11<author title="Editor">
11 <mail link="chriswhite@gentoo.org">Chris White</mail> 12 <mail link="chriswhite@gentoo.org">Chris White</mail>
12</author> 13</author>
13<author title="Editor"> 14<author title="Editor">
14 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail> 15 <mail link="nightmorph"/>
15</author> 16</author>
16 17
17<abstract> 18<abstract>
18Power Management is the key to extend battery run time on mobile systems like 19Power Management is the key to extend battery run time on mobile systems like
19laptops. This guide assists you setting it up on your laptop. 20laptops. This guide assists you setting it up on your laptop.
21 22
22<!-- The content of this document is licensed under the CC-BY-SA license --> 23<!-- The content of this document is licensed under the CC-BY-SA license -->
23<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 24<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
24<license/> 25<license/>
25 26
26<version>1.44</version> 27<version>1.45</version>
27<date>2009-08-11</date> 28<date>2010-01-22</date>
28 29
29<chapter> 30<chapter>
30<title>Introduction</title> 31<title>Introduction</title>
31<section> 32<section>
32<body> 33<body>
331<c>ac_adapter</c> and <c>battery</c> on most laptops, but it might be different 332<c>ac_adapter</c> and <c>battery</c> on most laptops, but it might be different
332on yours. 333on yours.
333</p> 334</p>
334 335
335<pre caption="Determining ACPI events for changing the power source"> 336<pre caption="Determining ACPI events for changing the power source">
336# <i>tail -f /var/log/messages | grep "received event"</i> 337# <i>tail -f /var/log/messages | grep "ACPI event"</i>
337</pre> 338</pre>
338 339
339<p> 340<p>
340Run the command above and pull the power cable. You should see something like 341Run the command above and pull the power cable. You should see something like
341this: 342this:
342</p> 343</p>
343 344
344<pre caption="Sample output for power source changes"> 345<pre caption="Sample output for power source changes">
345[Tue Sep 20 17:39:06 2005] received event "ac_adapter AC 00000080 00000000" 346[Tue Sep 20 17:39:06 2005] ACPI event "ac_adapter AC 00000080 00000000"
346[Tue Sep 20 17:39:06 2005] received event "battery BAT0 00000080 00000001" 347[Tue Sep 20 17:39:06 2005] ACPI event "battery BAT0 00000080 00000001"
347</pre> 348</pre>
348 349
349<p> 350<p>
350The interesting part is the quoted string after <c>received event</c>. It will 351The interesting part is the quoted string after <c>received event</c>. It will
351be matched by the event line in the files you are going to create below. Don't 352be matched by the event line in the files you are going to create below. Don't

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42

  ViewVC Help
Powered by ViewVC 1.1.20