Annotated edit history of
ACPINotes version 1, including all changes.
View license author blame.
| Rev |
Author |
# |
Line |
| 1 |
AristotlePagaltzis |
1 |
!! <tt>/proc/acpi</tt>, or, What’s going on? |
| |
|
2 |
|
| |
|
3 |
There are all kinds of interesting information inside the files in that directroy. F.ex.: |
| |
|
4 |
|
| |
|
5 |
* the state of the laptop lid in <tt>/proc/acpi/button/lid/LID/state</tt> |
| |
|
6 |
* the state of the battery in <tt>/proc/acpi/battery/BAT1/state</tt> |
| |
|
7 |
* and more. |
| |
|
8 |
|
| |
|
9 |
Feel free to explore. |
| |
|
10 |
|
| |
|
11 |
!! The <tt>acpi</tt> tool |
| |
|
12 |
|
| |
|
13 |
This is [a handy little utility | http://grahame.angrygoats.net/moinmoin/AcpiClient] which will tell you things like how much charge is left in your laptop battery and how long until it is depleted: |
| |
|
14 |
|
| |
|
15 |
<pre> |
| |
|
16 |
__$ acpi__ |
| |
|
17 |
Battery 1: discharging, 96%, 02:34:16 remaining |
| |
|
18 |
</pre> |
| |
|
19 |
|
| |
|
20 |
In [Debian]/[Ubuntu] it’s in the <tt>acpi</tt> [Package]. |