The average power consumption is
where Vdd is the supply voltage and Im is the average total current consumption,
where i identifies an active sequence,Ii is the average current consumption of I,ti sequence is the duration of I,Is is the current consumption in sleep mode, and T is the clock period. From and the duty cycle, we can calculate Im