analysis of deep cycle battery and charging