APIA LITHIUM BATTERY BMS FUNCTION