Mine did that when I left the lights on, car seemed to have enough power left to start but I just got the clicking sound. Once I put jump leads on it it started first turn but I had the transmission fail safe light on. Drove for a few miles like that to charge the battery and then turned ignition off and restarted with no fails. The thing with battery's is they wear out very quick when the car is used occasionally.if the battery has to be changed have a look into those trickle chargers to keep battery topped up.