8e21b1f738
voltage of 0. This can result in a divide by zero trap. Add a guard for this case. The value of lfcap is checked in acpi_battery_bif_valid() just before this, so it is safe. Reportd by: sam Approved by: re MFC after: 3 days