This sounds like a good idea, I’m also struggling with trying to setup a sleep and wake feature using a XIAO and SAMD.