Switched capacitors in power control