Why is my acura cutting off randomly when driven in the afternoon? on 1999 Acura TL

Everything electrical shuts off... and the green key light flashes..so then I put the car in park and restart it...it starts back great-usually..problem appears to occur in the heat of the day..so far it has not happened in the morning or evening

1 answer
It's getting sleepy...:)