I have had this issue on 2 Kubotas.....tractor and mower, both diesel. Check the voltage regulator/rectifier. If you are getting charge from the generator and the battery is good it's very likely the regulator. They are cheap and easy to replace and fixed my issue both times after using a...