...at least it seems to me.
1998 JD LT133 Kohler CV13S (Spec available, if needed.)
Unregulated charging system, w/ headlights.
Customer complained of battery dying and brake pedal safety switch worked intermittently.
Engine running, it only had battery voltage and showed no amperage. Jiggling the brake pedal caused the starter to work intermittenly, as described.
Ran Kohler's checks on the stator and they mentioned a green wire on the stator connector that is referred to as an optional "brake wire". (This machine was so equipped.) It got me thinking (uh, oh!) and I tried a new brake pedal safety switch.
Both problems gone. I've never seen a machine that had the charging system going through a safety. I've only seen start and ignition circuits through safeties.