I am designing a piece of lab test equipment that will be controlled by Boron and primarily powered by the LiPo battery plugged into the JST connector on the Boron. However, I want the option to power via USB. I also want to add a power switch to preserve the battery's life and turn off the peripherals.
Reading the documentation, I am a bit confused about the best way to implement the power switch. Should I be using the EN pin? Or does grounding that only put the device to sleep? Any advice would be appreciated!