Power scaling in network devices