HOW DOES A BATTERY CHARGE AND DISCHARGE