When Do You Need a Motion Sensor in Solar Lighting?