xref: /openbsd/share/man/man4/acpibat.4 (revision 8529ddd3)
1.\"     $OpenBSD: acpibat.4,v 1.7 2013/07/16 16:05:48 schwarze Exp $
2.\"
3.\" Copyright (c) 2006 Dmitri Alenitchev <dmitri@wave.net.ru>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: July 16 2013 $
18.Dt ACPIBAT 4
19.Os
20.Sh NAME
21.Nm acpibat
22.Nd ACPI control method battery
23.Sh SYNOPSIS
24.Cd "acpibat* at acpi?"
25.Sh DESCRIPTION
26The
27.Nm
28driver supports the ACPI Control Method Battery interface between the
29battery and the host.
30Information about the battery, such as capacity, recharge rate, voltage,
31and serial number, is available through this driver.
32Battery status is updated through an event triggered when a battery
33changes state (such as starting to charge) and, as a failsafe if the
34system does not support passing such events, every 10 seconds.
35Battery status can be monitored using
36.Xr sysctl 8
37or
38.Xr sensorsd 8 .
39.Sh SEE ALSO
40.Xr acpi 4 ,
41.Xr intro 4 ,
42.Xr sensorsd 8 ,
43.Xr sysctl 8
44.Sh HISTORY
45The
46.Nm
47driver first appeared in
48.Ox 3.8 .
49.Sh AUTHORS
50.An -nosplit
51The
52.Nm
53driver was written by
54.An Marco Peereboom Aq Mt marco@openbsd.org .
55.Sh BUGS
56Some systems do not propagate battery insertion up to the driver.
57.Pp
58Smart Battery Specification-based batteries are not supported.
59