Optimal energy storage in the Tavis-Cummings quantum battery | Synapse