This process repeats on a daily cycle. During the day, sunlight is converted to electricity and stored in the battery. When the power is out, the battery supplies the electricity to the light until it is all used up or the photoreceptor shuts off the light as daylight reappears
Of course, adequate sunlight is necessary to charge the battery fully. During the summer, this shouldn't be a problem as long as the light is placed where it can receive direct sunlight for most of the day. If possible, make sure no trees or bushes create shade that could affect the charging of the solar light