Battery capacitor welding