2 weeks ago the battery light would stay on until I reached above 3k rpm then go off.
If I high rev it while driving it for a few secs. It would then shut off completely.

Then after a few days it just stayed on and the car died.

I jump the car and took the battery connections off while the car was running and the car stayed on no problem. So I assumed the alternator was good and battery was bad.

Went to replace battery since in was old and they tested it. (Only had half the cracking power it should) Great!!! Bought new battery

New battery in for a week (no lights)and now battery light back on.. No check engine light on but when I read for codes P1298 was on. For ELD.

Went to a buddy with a parts ep hatch and replaced my ELD (No battery light when I started the car.) Next day light back on...

Read codes again (no code)

I’m leaning towards alternator.
Any ideas?

Thanks for feedback in advance