Your battery backup collects the excess solar energy produced and stores it for use during lower production times. First the solar panels generate power. The solar power is then sent to the home for use. Any excess solar unused by the home is then used to charge your battery. Once the battery is fully charged, if you have net metering available, the remaining power is then sent to the utility grid for a credit on your bill.