Cavity-mediated charging of scalable quantum battery based on superconducting flux qubits | Synapse