Patent ID: 8841961

Claim:
An apparatus comprising: a processor configured to generate an output signal and a control signal; and a device configured to consume power while operating in a first state and a second state, wherein the device consumes less power while in the first state than while in the second state, wherein the processor is configured to, account for a transition time for the device to transition among a powered off state, the first state, and the second state, and generate the control signal based on the transition time, in response to the control signal, transition to the second state at a speed of periodicity of a periodic signal of the processor, subsequent to the transitioning to the second state, perform a function based on the output signal, and subsequent to performing the function, transition from the second state to either the first state or the powered off state, wherein the device is configured to operate in the powered off state in response to a feedback signal, wherein the feedback signal is generated based on an output of the device.