Deep sleep support for RP2 port
This entry in the documentation suggests that there is support for deep sleep in the current MicroPython release. However, as far as I can see there isn't? At least, there doesn't seem to be a machine.DEEPSLEEP_RESET present in the current build.
Looking at https://ghubcoder.github.io/posts/deep-sleeping-the-pico-micropython/ it looks like adding this capability to the rp2 port is fairly easy, and there is an out of date — and looks to be unmaintained — fork at https://github.com/ghubcoder/micropython-pico-deepsleep.
Any plans to add support for DEEP SLEEP to the RP2 machine class?
RP2: sleep modes do not save power
In my testing machine.lightsleep and machine.deepsleep still don't work (with V1.19 firmware).
The Pico was powered from a bench supply with 5V on vsys. There was no connection to the USB port. main.py was as follows:
import time
time.sleep(5)
import machine
machine.lightsleep(10_000)
Current consumption was ~21mA with a tiny glitch visible after 5s but no change otherwise. The same was true with deepsleep (which seems to call lightsleep).