Frame battery compartment production process