I'm trying to use Snooze to drop the Teensy power usage. I only need the device to "turn on" every 10 minutes to log it's current GPS location. I'm not seeing much drop in mA when in sleep mode. It's hanging around 100mA. It will bounce up when it wakes up to get the GPS data (150mA). I was hoping to get it lower than 100mA. Anyway, that's not the main issue. Once it wakes up and gets the GPS data, it will right it to the eeprom. I'm using the built in LED to track this and once it writes to the eeprom the LED should turn off, but it doesn't.

Here is what I'm working with:

#include <TinyGPS.h>
#include <EEPROM.h>
#include <Snooze.h>

TinyGPS gps;

int eeAddress = 0;
struct GPScord {
  float flat;
  float flon;

SnoozeDigital digital;
SnoozeTimer timer;
SnoozeUSBSerial usb;
SnoozeAlarm  alarm;

#if defined(__MKL26Z64__)
Snoozelc5vBuffer  lc5vBuffer;

#if defined(__IMXRT1062__)
SnoozeBlock config_teensy40(usb, digital, alarm);

void setup(){
  #if !defined(__MKL26Z64__)
  alarm.setRtcTimer(0, 0, 10);// hour, min, sec

  while (eeAddress < 1060) {
    int who;
    #if defined(__IMXRT1062__)
    who = Snooze.sleep( config_teensy40 );
    if (who == 35) { // rtc wakeup value 
      float flat, flon;
      gps.f_get_position(&flat, &flon);
      GPScord GPSvar = {flat, flon};
      eeAddress += sizeof(GPSvar);
      digitalWrite(LED_BUILTIN, HIGH);
      EEPROM.put(eeAddress, GPSvar);
      digitalWrite(LED_BUILTIN, LOW);
void loop() {
I mostly just work with python so maybe I'm missing something simple? Any help would be appreciated.