September 4, 2007 ACPIBAT 4

### NAME

acpibat - ACPI Control Method Battery

### SYNOPSIS

acpibat* at acpi?

### DESCRIPTION

The acpibat driver supports ACPI Control Method Battery.

The status can be monitored by envsys(4) API or envstat(8) command.

### EVENTS

The acpibat driver is able to send events to powerd(8) when capacity state has been changed. The new state will be reported as the fourth argument to the ```/etc/powerd/scripts/sensor_battery` script. If a custom capacity limit was set via envstat(8), the acpibat driver will report a user-capacity event to the same script when current capacity limit has been reached.

### SEE ALSO

acpi(4), envsys(4), envstat(8), powerd(8)

### HISTORY

The acpibat driver appeared in NetBSD1.6.

### BUGS

Smart Battery Specification-based batteries are not supported.