Information processing apparatus, control method for information processing apparatus, and storage medium for reducing power consumption in response to a transition
When a printing apparatus operates in a normal power mode, a control unit specifies a time of receipt of a packet and a reception interval between packets by using an RTC. On the other hand, when the printing apparatus operates in a power-saving mode, a communication unit specifies a time of receipt of a packet and a reception interval between packets on the basis of time-of-day information acquired from an SNTP server.
1. A printing apparatus comprising:
a controller; and
a network interface device,
wherein the network interface device comprises:
a memory that stores instructions; and
a processor that executes the instructions to:
specify a reception interval between a reception of a first address resolution protocol (ARP) announcement in which an internet protocol (IP) address of the printing apparatus is assigned and a reception of a second ARP announcement in which the IP address of the printing apparatus is assigned, in a case where the printing apparatus operates in a power-saving mode where power is supplied to the network interface device and not supplied to the controller; and
cause the printing apparatus to transition to a normal power mode where power is supplied to the network interface device and the controller, in a case where the specified reception interval is within a predetermined time period,
wherein, in response to the transition of the printing apparatus to the normal power mode, the controller determines an IP address of the printing apparatus in accordance with AutoIP, and
wherein the network interface device is connected to a network, and the controller communicates with an external apparatus on the network via the network interface device.
2. A control method for a printing apparatus including a controller and a network interface device, the control method comprising:
specifying a reception interval between a reception of a first ARP announcement in which an IP address of the printing apparatus is assigned and a reception of a second ARP announcement in which the IP address of the printing apparatus is assigned, in a case where the printing apparatus operates in a power-saving mode where power is supplied to the network interface device and not supplied to the controller; and
causing the printing apparatus to transition to a normal power mode where power is supplied to the network interface device and the controller, in a case where the specified reception interval is within a predetermined time period,
wherein, in response to the transition of the printing apparatus to the normal power mode, the controller determines an IP address of the printing apparatus in accordance with AutoIP, and
wherein the network interface device is connected to a network, and the controller communicates with an external apparatus on the network via the network interface device.
3. A storage medium storing a program for causing a computer to execute a control method for a printing apparatus including a controller and a network interface device, the method comprising:
specifying a reception interval between a reception of a first ARP announcement in which an IP address of the printing apparatus is assigned and a reception of a second ARP announcement in which the IP address of the printing apparatus is assigned, in a case where the printing apparatus operates in a power-saving mode where power is supplied to the network interface device and not supplied to the controller; and
causing the printing apparatus to transition to a normal power mode where power is supplied to the network interface device and the controller, in a case where the specified reception interval is within a predetermined time period,
wherein, in response to the transition of the printing apparatus to the normal power mode, the controller determines an IP address of the printing apparatus in accordance with AutoIP, and
wherein the network interface device is connected to a network, and the controller communicates with an external apparatus on the network via the network interface device.