I am using an NRF52DK with NCS 2.5.1.
I was struggling to measure system shutoff power, noting that even the systemoff examples were giving static currents around 200uA.
I eventually found that CONFIG_SERIAL was being set to 'y', even though it was set to 'n' in my prj_release.conf, because it was set to 'y' in nrf52dk_nrf52832_defconfig. Setting CONFIG_SERIAL=n in nrf52dk_nrf52832_defconfig gave me the power numbers I was expecting, but my understanding was that the defconfig file was supposed to set some baseline default settings and that the prj_release.conf file should take precedent. I'm reluctant to rely on changing that defconfig because it's part of the SDK and my customizations should live in my codebase. Is this how it's supposed to work, or is there some way to make my config file take precedent?
I should note that VSCode says that CONFIG_SERIAL is set to n, but it clearly is getting built into the app as evidenced by the current consumption.
Thank you!