Apparently there are even more valud states

Yikes. Anything else that I've missed? Never had 'Pending' in my logs.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Fix second tooltip in energy chart

Silly I didn't catch this the first time.
Also a little coding style cleanup.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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>
Turn off debug messages again

These shouldn't have made it into master...

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Merge pull request #45 from dirkhh/smallFixes

Small fixes