\u3cp\u3eThe energy consumption of battery electric vehicles (BEVs) depends on a number of factors, such as vehicle characteristics, driving behavior, route information, traffic states and weather conditions. The variance of these factors and the correlation among each other make the energy consumption prediction of BEVs difficult. This paper presents an online algorithm to adjust the energy consumption prediction during driving. It includes a vehicle parameter estimation algorithm and a driving behavior correction algorithm. The vehicle parameter estimation algorithm can assess the vehicle mass and rolling resistance during driving. The driving behavior correction algorithm can adjust the energy consumption prediction based on the current ...