Add first cut of battery monitor sketch.