The solar panel doesn't store energy so it only works when the sun is shining directly on it.