PMIC (Power Management IC)

getSystemStatus()

byte getSystemStatus();

Returns the raw value of the read-only system status register (REG08). This register reports the power source (VBUS), charging state, DPM/thermal regulation status, and power-good status all at once. The individual bits can be decoded with the following methods, described in more detail in the System status register section, below: