ACPI_BATTERY_ALL_UNITS
if (unit != ACPI_BATTERY_ALL_UNITS)
if (dev != NULL || unit == ACPI_BATTERY_ALL_UNITS) {