HOW DOES A STORAGE SYSTEM CHARGE A BATTERY