njl 8e21b1f738 When the EC times out (common with Compaqs), it may report a design
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
2007-10-09 07:51:46 +00:00
..
2005-09-11 18:39:03 +00:00
2005-09-11 18:39:03 +00:00
2006-04-21 19:06:29 +00:00
2006-02-21 03:16:58 +00:00