If you have a multimeter/voltmeter set it to DC voltage 20.
Then with the mower running, put the + lead to + on the battery and - to -
You should get at least 13.00 volts if the battery is being charged by the generator.
Or it might be something else is draining it while sitting.