finished schematic with new battery monitor