The function of lithium phosphate battery