Minor adjustments to handle the case that the battery fuel gauge cannot be read, e.g. because of missing ST microcontroller firmware.
Authored by: omaye 2020-09-03
Parent: [r596]