Electron - Stop mode current consumption

I’m getting 15mA.
Seems kind of high, is this due to the processor or the implementation of this mode in Particle?

EDIT:
What I meant by “the implementation of this mode” is that the function HAL_Core_Execute_Stop_Mode(), which contains all the logic for going into the stop mode is never called inside the core codebase. Instead, system_sleep_pin(), the function wrapped behind System.sleep(uint16_t wakeUpPin, uint16_t edgeTriggerMode) is calling HAL_Core_Enter_Stop_Mode(), and I’m not exactly sure what that does.
I could be wrong about this though.

It’s the power chip again. FuelGauge fuel; fuel.sleep(); results in 0.4mA baseline with some spikes.
I think this should really be baked into the core firmware .

Glad you were able to find out the problem!

I’m actually having trouble replicating my previous measurements. This is the code I’m testing with:

#include "Particle.h"

#define WAKEUP_PIN D0 

FuelGauge fuel;

SYSTEM_MODE(MANUAL);

void setup(void) {
    Cellular.off();
    fuel.sleep();

    pinMode(WAKEUP_PIN, INPUT_PULLUP);
    System.sleep(WAKEUP_PIN, FALLING);
}

Still getting 15mA.

Also the documentation lists these pins D0, D1, D2, D3, D4, A0, A1, A3, A4, A5, A6, A7 as the ones suitable for wake-up, but I found that others (B0, B1) work as well .