necessity of a battery management system