If battery reports its full capacity as zero, battery percentage calculation did a division by zero crashing the TaskBar :)