During the transition from an unattached to an attached state, the PD controller performs a final sampling cycle to verify the presence of liquid. If an E-marked cable is used, an internal Ra resistor is present on the CC line. In this scenario, the liquid detection algorithm must account for this Ra resistance during the measurement window. To avoid false detections, the controller compares the measured impedance of both CC1 and CC2 to the low threshold, high thresholds and the Pulldown Threshold. If the Ra threshold is met, the PD controller will ignore the Ra measurement from the CC lines and look to the opposing CC line measurement to compare to the low and high thresholds.