An HVAC controller includes an HVAC controller housing having an aperture and a removable battery tray disposed within the aperture. The removable battery tray includes a pivot point for rotating the battery tray into and out of the aperture.