The power module manages power-related functionality for devices with nPM1300, like the Thingy:91 X, including the following:
- Monitoring battery voltage and calculating remaining battery percentage.
- Tracking modem sleep and wake events to adjust fuel gauge behaviour.
- Reading VBUS (USB) status to inform the fuel gauge of the current charging state.
- Publishing battery percentage updates via zbus messages.