Code cleanup

Make things consistent and easier to maintain. Remove unused code /
variables inherited from the demos I looked at.

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

Marks charges above 90% in dark red and below 10% in bright red.

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

So cgraph