Disable system power configuration on B5 SOM

How is system power configuration disabled, for systems where a PMIC is not connected?

According to docs, when there is no (external) PMIC ex. with B5 SOM, system power configuration should be disabled in order to use the pins for other purposes, but the provided example seem to do the opposite (restore it):

System.setPowerConfiguration(SystemPowerConfiguration());

https://docs.particle.io/reference/device-os/firmware/boron/#b-series-som

I think I found it here:

Is this also the correct way to do it on 2.0.1?