A battery assembly of an electronic cigarette includes a battery sleeve, a battery received in the battery sleeve, an electrode ring arranged at an end of the battery, an elastic member and an insulated ring received in the battery sleeve. The insulated ring defines a through hole exposed along an axial direction of the battery sleeve, and the electrode ring is resiliently arranged in the through hole by the elastic member and extending through the through hole. A battery assembly includes an atomizing device and the battery assembly.