It's actually detecting more than 6.6V at the power jack. Note the voltage divider reducing it by half before the comparator. The comparator controls the mosfet on the USBVCC line. It's a P-channel mosfet (arrow facing out, not in), so a high output from the comparator will turn it off.