Differences between version 5 and predecessor to the previous major change of ACPI.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Wednesday, May 30, 2007 3:40:13 pm | by BenStaz | Revert |
Older page: | version 4 | Last edited on Thursday, September 23, 2004 7:07:30 pm | by AristotlePagaltzis | Revert |
@@ -5,8 +5,27 @@
Some example uses:
* spinning down idle hard drives,
* telling a monitor to go into lower power mode (but different from [DPMS] for going into standby)
* making a machine go into standby or complete hibernation
+
Many newer laptops use [ACPI] exclusively without support for [APM]. Linux kernel 2.4.x had some support for [ACPI], but kernel 2.6 should have much better support.
+
+There is all kinds of interesting information inside ''/proc/acpi''
+For example:
+
+Is my Laptop Lid open? : ''cat /proc/acpi/button/lid/LID/state''
+
+The State of your laptops battery : ''cat /proc/acpi/battery/BAT1/state''
+
+!acpi command
+
+This can tell you how much charge is left in your laptop battery and how long until it is depleted.
+
+Example Output:
+* Battery 1: discharging, 96%, 02:34:16 remaining
+
+
+
+
See also: the [ACPI specification | http://www.acpi.info/]