Cavity Heisenberg-spin-chain quantum battery | Synapse