I had an alternator fail in a way that it was still -partially- charging the battery. Drive with the lights on, it wouldn't keep up. Fine during the day. A test revealed a "ripple", meaning it wasn't producing steady power. I was thinking bad connection or a weak battery. The voltage, according to the vehicle, was normal.
If visual inspection and cleaning don't resolve it, a test should point you in the right direction. Good luck!