Simple battery monitor