CPC H02J 7/00045 (2020.01) [G05B 15/02 (2013.01); G06F 21/44 (2013.01); G06F 21/445 (2013.01); H02J 7/0063 (2013.01); G06F 21/70 (2013.01); G06F 21/75 (2013.01); H04L 67/12 (2013.01)] | 14 Claims |
1. An electronic apparatus comprising:
a connector to which an external apparatus is connected,
wherein a battery is detachably connected to the external apparatus;
a Central Processing Unit (CPU); and
a memory that stores a program which, when executed by the CPU, causes the electronic apparatus to function as:
a first authentication unit that performs a first authentication process for determining whether the external apparatus connected to the connector is a predetermined external apparatus;
a second authentication unit that performs a second authentication process for determining whether the battery connected to the external apparatus is a predetermined battery; and
a control unit that performs a control in accordance with a result of the first authentication process by the first authentication unit such that the battery is permitted to be discharged but is restricted from being charged regardless of whether the battery is the predetermined battery, in a case where it is determined that the external apparatus is not the predetermined external apparatus by the first authentication unit.
|