LiFePO4 battery with stud terminal