Some modules have a dedicated pin (often labeled PWR or ON/OFF ) that allows the microcontroller to cut power entirely via a MOSFET transistor if the module supports it.
Navigating the World of GPSPower: A Guide to the Navigation Tech Community gpspower
void turnOnGPS() digitalWrite(GPS_POWER_PIN, HIGH); // Powers the GPS module Some modules have a dedicated pin (often labeled