Head Lights Turn off after 10min

Mine was doing that too. But would flicker on and off. Would stop for a few and it was fine again for a while then would start doing it again.

Took the switch out. Cleaned and tightened all contacts. My switch looked like Abodyjoes up in that pic. One wire was even arcing off of another wire and it was getting very hot. But after I Cleaned and tightened every thing up it has been working good.