I have a 2002 Chrysler Sebring. The battery light stays on. on 2002 Chrysler Sebring

The motor revs itself up when it is sitting idle. We replaced the Cam shaft sensor. That is what the diagnostic said was wrong. But it is still revving itself up and the battery light is still on. What else could be wrong?

Asked by for the 2002 Chrysler Sebring