Since you don’t provide us with an info about the engine, except that it might be a Kohler, I’m going to take a shot in th dark and provide you with a manual. It may not be for your exact engine, but has an excellent section on how to check the charging system. Sounds like you may have a short in the charging system. If you have more questions, please make sure you provide us with all engine and unit numbers. We hate guessing at a solution, especially with electrical problems, can do more harm than good.
https://www.mymowerparts.com/pdf/Ko...13-CV14-CV15-CV16-CV460-CV465-CV490-CV495.pdf