Fix silly corner case issue in energy accounting

On the stats page, if the very first sample in the time range happens to
be while you are driving and using energy, the energy consumed for this
day is multiplied with the current timestamp at that time - and creates an
outrageous (and incorrect) number.

Easy to fix.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>