2009 Gem E4 battery problems

I have new batteries in my GEM.(purchased Feb.2020) I just purchased Gem car on 7/21/20 and the batteries will not hold a charge. They have 6 ea Optima Blue Top 31M batteries. What could it be causing?

They look like AGM batteries. Is your charger set for AGM?

How can I find that out? If it isn’t, how can I fix that?

Original Gem chargers do not have an agm setting.
From what others on here say, AGMs only last about 9 months if not charged correctly.

Can the Gem charging system be programmed to correctly charge AGM batteries?

Use the flooded setting. DO NOT USE THE GEL SETTING