Use a tester to see if the charging system is working properly. If your model has a separate regulator make sure it is working properly. Make sure that your battery is ok, a battery with an internal short can cause the charging light to stay on.
The engine computer is the voltage regulator.
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.
did you check the alternator??
Inside the alternator
The battery light comes on when the alternator is either over or under charging. If the alternator tested good you have a wiring or computer problem. The engine computer is the voltage regulator.
Voltage regulator or loose wire.
Check the battery cables or starter.
Alternator is not charging. Have it tested and/or replaced.
You can have the alternator tested free of charge at just about any major auto parts store. By the way, a bad alternator will not "discharge" a battery - the alternator's function is to provide the charge to the battery. If the alternator is faulty, then it is not providing the charge necessary to keep other components from discharging the battery. I had the alternator tested and it was charging. If the alternator has a bad diode, it will discharge the battery. I replaced the alternator and everything is fine.
It could be an alternator. Check with a mechanic if that is the issue.
Voltage Regulator?
alternator needs to be replaced. battery also might be a problem due to the alternator not charging it
defective alternator