NHTSA complaint 10855234: 2013 Hyundai Sonata

An owner complaint received by NHTSA on April 13, 2016, about: Exterior lighting, Visibility/wiper. Complaints are unverified reports from owners and are not confirmed defects.

The complaint

Headlights flicker while driving. They are getting worse as they are cutting completely off driving down the road. Some times it will even dim or completely shut off the interior lights.the lights cut off in the middle of a turn. I've had it in service 3 or 4 times and they can not seem to find the problem. The day I bought the car on the way home is the first time I noticed and called it in for repair. They have since then replaced the battery and the alternator in attempt to fix the problem which none of this has successfully helped. The car does this mainly while driving, but sometimes while in a stationary position. My job requires me to work nights which I can not even drive my car for this safety issue in the fear of causing a wreck and possibly injuring someone or myself. I had a video to share, but its not in the right format so it will not let me post. Please help me find the solution to this.

The vehicle

Source: NHTSA owner complaint 10855234, as published by NHTSA. Email addresses removed.