BMS solution for electric two- and three-wheelers