| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | .\" $NetBSD: acpibat.4,v 1.6 2008/04/30 13:10:53 martin Exp $ | | 1 | .\" $NetBSD: acpibat.4,v 1.7 2009/05/04 19:17:49 wiz Exp $ |
2 | .\" | | 2 | .\" |
3 | .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. | | 3 | .\" Copyright (c) 2002, 2004 The NetBSD Foundation, Inc. |
4 | .\" All rights reserved. | | 4 | .\" All rights reserved. |
5 | .\" | | 5 | .\" |
6 | .\" Redistribution and use in source and binary forms, with or without | | 6 | .\" Redistribution and use in source and binary forms, with or without |
7 | .\" modification, are permitted provided that the following conditions | | 7 | .\" modification, are permitted provided that the following conditions |
8 | .\" are met: | | 8 | .\" are met: |
9 | .\" 1. Redistributions of source code must retain the above copyright | | 9 | .\" 1. Redistributions of source code must retain the above copyright |
10 | .\" notice, this list of conditions and the following disclaimer. | | 10 | .\" notice, this list of conditions and the following disclaimer. |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | | 11 | .\" 2. Redistributions in binary form must reproduce the above copyright |
12 | .\" notice, this list of conditions and the following disclaimer in the | | 12 | .\" notice, this list of conditions and the following disclaimer in the |
13 | .\" documentation and/or other materials provided with the distribution. | | 13 | .\" documentation and/or other materials provided with the distribution. |
14 | .\" | | 14 | .\" |
| @@ -37,32 +37,33 @@ The | | | @@ -37,32 +37,33 @@ The |
37 | .Nm | | 37 | .Nm |
38 | driver supports ACPI Control Method Battery. | | 38 | driver supports ACPI Control Method Battery. |
39 | .Pp | | 39 | .Pp |
40 | The status can be monitored by | | 40 | The status can be monitored by |
41 | .Xr envsys 4 | | 41 | .Xr envsys 4 |
42 | API or | | 42 | API or |
43 | .Xr envstat 8 | | 43 | .Xr envstat 8 |
44 | command. | | 44 | command. |
45 | .Sh EVENTS | | 45 | .Sh EVENTS |
46 | The | | 46 | The |
47 | .Nm | | 47 | .Nm |
48 | driver is able to send events to | | 48 | driver is able to send events to |
49 | .Xr powerd 8 | | 49 | .Xr powerd 8 |
50 | when capacity state has been changed. The new state will be reported | | 50 | when capacity state has been changed. |
51 | as the | | 51 | The new state will be reported as the |
52 | .Em fourth | | 52 | .Em fourth |
53 | argument to the | | 53 | argument to the |
54 | .Fa /etc/powerd/scripts/sensor_battery | | 54 | .Pa /etc/powerd/scripts/sensor_battery |
55 | script. If a custom capacity limit was set via | | 55 | script. |
| | | 56 | If a custom capacity limit was set via |
56 | .Xr envstat 8 , | | 57 | .Xr envstat 8 , |
57 | the | | 58 | the |
58 | .Nm | | 59 | .Nm |
59 | driver will report a | | 60 | driver will report a |
60 | .Em user-capacity | | 61 | .Em user-capacity |
61 | event to the same script when current capacity limit has been reached. | | 62 | event to the same script when current capacity limit has been reached. |
62 | .Sh SEE ALSO | | 63 | .Sh SEE ALSO |
63 | .Xr acpi 4 , | | 64 | .Xr acpi 4 , |
64 | .Xr envsys 4 , | | 65 | .Xr envsys 4 , |
65 | .Xr envstat 8 , | | 66 | .Xr envstat 8 , |
66 | .Xr powerd 8 | | 67 | .Xr powerd 8 |
67 | .Sh HISTORY | | 68 | .Sh HISTORY |
68 | The | | 69 | The |