I think you'll find that the LPCOMP module itself draws more power than the CPU does when in sleep mode. 400uA is definitely on the high side, but it's probably because the nRF52DK keeps the serial port on all the time - which draws loads of power. Puck.js doesn't do that unless it's started while connected to a serial port (or serial is manually initialised).
However it sounds suspiciously like you're developing a custom device, and are trying to get me to offer free help by pretending that you're using a Puck.js device? If that's the case, I can offer consultancy work to help you out - but it's not reasonable to expect me to help you to design your product for free, if you have no intention of buying Espruino boards.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think you'll find that the LPCOMP module itself draws more power than the CPU does when in sleep mode. 400uA is definitely on the high side, but it's probably because the nRF52DK keeps the serial port on all the time - which draws loads of power. Puck.js doesn't do that unless it's started while connected to a serial port (or serial is manually initialised).
However it sounds suspiciously like you're developing a custom device, and are trying to get me to offer free help by pretending that you're using a Puck.js device? If that's the case, I can offer consultancy work to help you out - but it's not reasonable to expect me to help you to design your product for free, if you have no intention of buying Espruino boards.
NRF.sleep()