This morning on my way to work my car died. I lost all power and acceleration, luckily i was just on a feder road and was able to pull over safely. I waited a few min and started my car back up and drove for a half a mile and it died again. This time it didnt have enough power to start so i pushed it home. Yesterday, while i was at lunch my cars battery light was flickering on while i was driving and did it on my way home too. Always around 3k rpm it would flicker on then go back off. I cant help but think this is related. Going to test my battery later but its fairly new. I dont know much about cars but all i can think of is the alternator or some cables might be corroded. Just fishing for ideas of stuff to check for before i pay someone to come look at it thanks.