Details on design of battery sensor.
More notes.