Patent attributes
A refrigerator including a refrigerated compartment and a door to open and close at least a portion of the refrigerated compartment. A dispenser unit is positioned on the door that is configured to dispense content into a receptacle. The dispenser unit includes a receptacle support, a dispensing system, a sensor system with at least a first sensor and a second sensor. A control unit electrically coupled to the dispensing system and sensor system. The dispensing system is configured to operate the first sensor to determine the receptacle height and the second sensor to determine the liquid height within the receptacle. The control unit determines when to stop filling the receptacle based on the two measurements. A method for detecting when to shut off the dispensing unit when dispensing liquid into a receptacle.