With the tractor not running check the battery voltage. As stated it should be around 12.6 volts. If it reads otherwise don't worry, just make a note of it. Start the tractor and measure again. The voltage should be higher if the tractor is charging. If it is the same or lower you need to delve into why the tractor is not charging.