Voltage at 0 Volt causes floating point exception
Brought to you by:
meskes
My laptop has a dead battery which is no longer charging (or maybe something else is broken): acpi reports 0 Volt which leads to divisions by zero in some places.
I added 3 lines in acpi.c to set back the voltage value to -1 (unknown state) in that case.
patch to set back voltage to -1when no valid voltage value is returned
This was already fixed in 1.4 I think.
Oops, it was just fixed in git, will release 1.5 with this patch real soon.