Hi,
How do I configure Zephyr to turn off TWI and GPIO while in sleep mode? Once I enable those, idle power consumption doubles. I tried using device_pm_enable() on initialization, and then device_pm_get_sync() and device_pm_put() every time i use them, but it made the program reset on start, so it's obviously not the right way to do it.