[PATCH 4.14 61/77] power: supply: cpcap-battery: Fix division by zero