All electrical control systems use sensors. When you hold your phone closer to your ear, a sensor may detect the distance to your head!