Voltage regulator or loose wire.
because the battery is the source of the power for the headlights. there could be an issue with the battery or the alternator can be failing.
It means something is wrong with your charging system. Can be a loose of corroded battery cable, defective alternator or a battery with a dead short.
Your battery is weak, or your your alternator is not charging battery.
The computer only resets when the battery is removed. The alternator just charges the battery, so if the battery is left connected when the alternator is replaced, the computer should not reset.
It sounds like you have a break in the wire which connects your alternator to your battery, get it checked out.
Check the fuses
Sounds like your alternator and battery need to be replaced soon.
The new alternator is bad happens all the time.
the vehicle needa a new voltage regulater,this should have been checked before battery and alternator as its the cheapest part to replace
Sometimes the bulbs dim with age but usually dim headlights are the result of a poor ground connection, probably at the battery terminal, or a bad battery or poor alternator output. Your local auto parts store professional can check your battery and alternator for you at no charge. Good luck
did you check the alternator??