What is volts at that 5000 rpm? If you have a fully charged good battery even at idle should read over 13volts your are reading 12 something telling me it’s battery. I had same issue after a long day of fishing and not running with all graphs and live well on. Boat did same thing you are describing.