Hi,
I use nrfconnect SDK 3.1.1 and nRF52840 (as a dongle, DK etc)
Using the power profiler kit 2 I see legacy advertising (TX/RX) peaks of about 32mA (with txpwr=8dBm, 3.2V, 100ms).
Checking your online power profiler this tells me I must be using LDO (eating 40.38µC for a payload of 23bytes).
How can I switch to DCDC regulator in my prj.conf, or even better, in my C code?
According to your online calculator this would reduce peaks to 15.5mA (eating only 21.36µC).