Petzl, for example, built a sensor into some of its models that automatically adjusts the beam’s brightness based on ambient lighting conditions.