Power control for speaker devices in a wireless media system
Disclosed herein are system, apparatus, article of manufacture, method and/or computer program product embodiments, and/or combinations and sub-combinations thereof, for a wireless media system including a wireless speaker device and a host device forming a peer-to-peer wireless network. The host device provides audio content to the speaker device, and the speaker device can decode and process the audio content received from the host device. The speaker device can be in various states that consume different level of powers, such as a standby state, a wake state, a connected state. The speaker device can determine the host device is in an inactive state or an active state. When the speaker device determines the host device is in an inactive state, the speaker device can enter the standby state, enable the communication circuit and the audio processing circuit of the speaker device to be in a low power state to save power.
1 . A computer-implemented method for operating a wireless speaker device, comprising:
determining, by at least one computer processor, that a host device communicatively coupled to the wireless speaker device via a wireless network is in an active state;
in response to determining that the host device is in the active state:
transitioning the wireless speaker device to a connected state;
transitioning a communication circuit of the wireless speaker device to a first state of the communication circuit; and
transitioning an audio processing circuit of the wireless speaker device to a first state of the audio processing circuit;
determining that the host device is in an inactive state, wherein determining that the host device is in the inactive state comprises:
sending at least one data packet to the host device; and
determining that no response to the at least one data packet was received from the host device;
in response to determining that the host device is in the inactive state:
transitioning the communication circuit of the wireless speaker device to a second state of the communication circuit that is different than the first state of the communication circuit, wherein the communication circuit consumes less power in the second state of the communication circuit than the first state of the communication circuit; and
transitioning the audio processing circuit of the wireless speaker device to a second state of the audio processing circuit that is different than the first state of the audio processing circuit, wherein the audio processing circuit consumes less power in the second state of the audio processing circuit than the first state of the audio processing circuit.
2 . The computer-implemented method of claim 1 , wherein, in the first state of the communication circuit, the communication circuit is configured to communicate with the host device.
3 . The computer-implemented method of claim 1 , wherein, in the second state of the communication circuit, the communication circuit is configured to stop communication with the host device.
4 . The computer-implemented method of claim 1 , wherein, in the first state of the audio processing circuit, the audio processing circuit is configured to:
decode data packets received from the host device.
5 . The computer-implemented method of claim 4 , wherein, in the second state of the audio processing circuit, the audio processing circuit is configured to:
stop the decoding of the data packets received from the host device.
6 . The computer-implemented method of claim 1 , wherein the wireless speaker device comprises one of a speaker, a sound bar, or an audio/video receiver (AVR).
7 . The computer-implemented method of claim 1 , wherein the communication circuit includes a transceiver for the wireless network, and the audio processing circuit includes at least one of an audio amplifier, an audio codec, and audio mixer, or an audio frequency control circuit.
8 . A wireless speaker device, comprising:
a communication circuit;
an audio processing circuit;
one or more memories; and
at least one processor each coupled to at least one of the one or more memories and configured to perform operations comprising:
determining that a host device communicatively coupled to the wireless speaker device via a wireless network is in an active state;
in response to determining that the host device is in the active state:
transitioning the wireless speaker device to a connected state;
transitioning the communication circuit of the wireless speaker device to a first state of the communication circuit; and
transitioning the audio processing circuit of the wireless speaker device to a first state of the audio processing circuit;
determining that the host device is in an inactive state, wherein determining that the host device is in the inactive state comprises:
sending at least one data packet to the host device; and
determining that no response to the at least one data packet was received from the host device;
in response to determining that the host device is in the inactive state:
transitioning the communication circuit of the wireless speaker device to a second state of the communication circuit that is different than the first state of the communication circuit, wherein the communication circuit consumes less power in the second state of the communication circuit than the first state of the communication circuit; and
transitioning the audio processing circuit of the wireless speaker device to a second state of the audio processing circuit that is different than the first state of the audio processing circuit, wherein the audio processing circuit consumes less power in the second state of the audio processing circuit than the first state of the audio processing circuit.
9 . The wireless speaker device of claim 8 , wherein, in the first state of the communication circuit, the communication circuit is configured to communicate with the host device.
10 . The wireless speaker device of claim 8 , wherein, in the second state of the communication circuit, the communication circuit is configured to stop communication with the host device.
11 . The wireless speaker device of claim 8 , wherein, in the first state of the audio processing circuit, the audio processing circuit is configured to:
decode data packets received from the host device.
12 . The wireless speaker device of claim 11 , wherein, in the second state of the audio processing circuit, the audio processing circuit is configured to:
stop the decoding of the data packets received from the host device.
13 . The wireless speaker device of claim 8 , wherein the wireless speaker device comprises one of a speaker, a sound bar, or an audio/video receiver (AVR).
14 . The wireless speaker device of claim 8 , wherein the communication circuit includes a transceiver for the wireless network, and the audio processing circuit includes at least one of an audio amplifier, an audio codec, and audio mixer, or an audio frequency control circuit.
15 . A non-transitory computer-readable medium having instructions stored thereon that, when executed by at least one computer processor of a wireless speaker device, cause the at least one computer processor to perform operations comprising:
determining that a host device communicatively coupled to the wireless speaker device via a wireless network is in an active state;
in response to determining that the host device is in the active state:
transitioning the wireless speaker device to a connected state;
transitioning a communication circuit of the wireless speaker device to a first state of the communication circuit; and
transitioning an audio processing circuit of the wireless speaker device to a first state of the audio processing circuit;
determining that the host device is in an inactive state, wherein determining that the host device is in the inactive state comprises:
sending at least one data packet to the host device; and
determining that no response to the at least one data packet was received from the host device;
in response to determining that the host device is in the inactive state:
transitioning the communication circuit of the wireless speaker device to a second state of the communication circuit that is different than the first state of the communication circuit, wherein the communication circuit consumes less power in the second state of the communication circuit than the first state of the communication circuit; and
transitioning the audio processing circuit of the wireless speaker device to a second state of the audio processing circuit that is different than the first state of the audio processing circuit, wherein the audio processing circuit consumes less power in the second state of the audio processing circuit than the first state of the audio processing circuit.
16 . The non-transitory computer-readable medium of claim 15 , wherein, in the first state of the communication circuit, the communication circuit is configured to communicate with the host device.
17 . The non-transitory computer-readable medium of claim 15 , wherein, in the second state of the communication circuit, the communication circuit is configured to stop communication with the host device.
18 . The non-transitory computer-readable medium of claim 15 , wherein, in the first state of the audio processing circuit, the audio processing circuit is configured to:
decode data packets received from the host device.
19 . The non-transitory computer-readable medium of claim 18 , wherein, in the second state of the audio processing circuit, the audio processing circuit is configured to:
stop the decoding of the data packets received from the host device.
20 . The non-transitory computer-readable medium of claim 15 , wherein the communication circuit includes a transceiver for the wireless network, and the audio processing circuit includes at least one of an audio amplifier, an audio codec, and audio mixer, or an audio frequency control circuit.