Where is your input? Is it the battery voltage? (since the circuit has no input really).
And again, I ask you. Do you think a square wave is what you're likely to see coming from a battery? Think about another waveform. One thats kinda more gradual would be better (to simulate voltage dropping over time, and then rising as it charges).