Open
Description
CircuitPython version
Adafruit CircuitPython 7.0.0-rc.1 on 2021-09-02; Adafruit Feather nRF52840 Express with nRF52840
Code/REPL
import time, alarm
time.sleep(15)
time_alarm = alarm.time.TimeAlarm(monotonic_time=time.monotonic() + 15)
alarm.exit_and_deep_sleep_until_alarms(time_alarm)
Behavior
After startup my cheap multimeter measures around 0.5mA for the first 15 seconds, and over twice that for the last 15 seconds (in deep sleep)
Light sleep and time.sleep has the same consumption, but deep sleep having a larger consumption is unexpected.
Description
Easy workaround is to use
time.sleep(15)
import supervisor
supervisor.reload()
Instead of deep sleep, but deep sleep should be able to get the same consumption as light sleep.
Additional information
Same issue is present when using pin alarms instead