HOW DOES A BMS MONITOR A BATTERY