The UART Power Control module suspends and resumes UART peripherals based on VBUS (USB) presence on devices with an nPM1300 PMIC, such as the Thingy:91 X. This reduces power consumption when the device runs on battery.
When the option is enabled, the module:
- Subscribes to VBUS detected and removed events from the nPM1300 charger.
- Suspends
uart0anduart1(and the modem trace UART, if configured) when VBUS is removed. - Resumes the same UARTs when VBUS is detected.