Fix writing last voltage to eeprom if switched off immediately

If you power up the system and switch it off in the next two seconds,
we write a voltage value of zero into the eeprom.

The next time you start the system, it will detect
a charged battery and reset all counters :o)