BALANCING AND MAINTAINING BATTERY SYSTEMS