A sensor detects your presence, and automatically opens (and closes) the lid.