On some DS3231 modules, the power circuit contains an error, so the battery is always under supply voltage. In such modules, it is advisable to remove the part of charging circuit to prevent damage to the battery.
As far as I know, this has nothing to do with the SQW pin.