LFP battery training