Updated views so `doc` variable doesn't get modified. This actually makes the view work when the time is an hex encoded string.
Fixed bug in battry view code. The view now accounts for the resistor divider on the measurement pin.