HOW DOES A BMS PREVENT BATTERY OVERCHARGING