Update:
Project uses Pi Pico, PiicoDev CAP1203 & PiicoDev SSD1306.
Measured currents with program running.
19.5mA waiting sensor input, 25mA when sensor touched and LCD on.
The Pico will be driving a relay which draws about 75mA; so total will be about 100mA.
Measured currents in Dormant mode.
Pi Pico = 0.3mA
Pi Pico, CAP1203 = 0.7mA (each sensor scan = 120uA x 3 = 360uA)
Pi Pico, CAP1203, SSD1306 = 2.2mA
Set SSD1306 to poweroff before Dormant mode.
Pi Pico, CAP1203, SSD1306 = 1.4mA
The measured current of 0.3mA is interseting using MicroPython; I originally measured 0.8mA using the C SDK. Turning the clocks off as per sleep.c
does not seem to make much difference in Dormant mode, probably would have a greater effect in LightSleep mode.
Regards
Jim