Text this: Fault detection for Li-ion batteries of electric vehicles with segmented regression method