Thanks for your excellent work on open source data loggers. It jump started my very similar project.
However, when I uploaded this code on my Arduino Nano, with a near identical setup to this tutorial:
https://thekurks.net/blog/2018/2/5/wakeup-rtc-datalogger#anchor-link-5
the board didn't spend any significant time sleeping. I guess it just woke up immediately after going to sleep or something. I commented out all the parts related to analog signals and LEDs.
Once I added this line
pinMode(RTC_INTERRUPT_PIN,INPUT_PULLUP);
to the setup, it started working the way I would have expected. Also, the RTC_INTERRUPT_PIN variable is not used anywhere in the code. Did you just forget it?
-Antti