quick hack to fix divide by zero when battery fully charged