Battery light come on
Go to Autozone and have both your battery load-tested and your alternator also before buying anything
If the car will only run with cables on it the cars alternator might not be producing power. Charge the battery then take it to have the alternator checked.
Search Toyota RAV4 Questions
Toyota RAV4 Experts
Mandy Crowe Johnson