Vertical welding of lithium battery