The block diagram on this slide shows the general scheme of monitoring power inside an AC/DC power supply. Older or lower cost methods would use the system MCU to measure or approximate power usage. To improve performance and monitor additional conditions, power monitoring ICs are now being used in the newer generations of power supplies. A shunt resistor is the most common method to measure current. Voltage is measured through a resistor divider network.