Proper welding of lithium battery