Just took the car out earlier today with no problems after just cleaning the MAF sensor and fixing my check engine light. Car ran fine for about 30min. Left it parked again and about 6 hours later went to pick up the wife and the when I turned it on all the lights flickered and the radio wouldn't turn on. The car then died, I turned it back on and it turned on no problem. Started driving and had the car lose power and turn off about 15 min into the trip. Managed to make it there and back with the car turning off 3 more times. Would it be the battery dying when its turning off even when the car is running? Could it be just the cold weather or has the battery reached the end of its life? Anything else might be causing this?