bad connection or ground sounds like to me. have you put a volt meter on the battery while its running to see if its charging at all? should change the voltage reading once the car starts(an increase obviously)