Electronic device, control method, storage medium, and program product

By acquiring and processing the reliability of the battery margin information obtained from the power supply device in an electronic device and switching the display accuracy of the operation time, the problem that it is difficult for users to identify the accuracy and reliability of the power margin information is solved, and the user's appropriateness is achieved Reliability of preparation and operation.

CN119440207APending Publication Date: 2025-02-14CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411040392.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-03
Filing Date
2024-07-31
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

Since the accuracy and reliability of battery margin information in the USB PD standard varies according to the revision of the communication standard, the information accuracy and reliability of the operation time calculated by the power receiving device are also different, making it difficult for users to identify and make appropriate preparations.

Method used

An electronic device is provided, including a connecting unit connecting with a power supply device and a control unit, by obtaining the first residual amount information obtained from the power supply device, calculates and displays the second residual amount information related to the operation time of the electronic device, and according to the first residual amount information The reliability of the margin information switches the display accuracy of the second margin information.

Benefits of technology

This allows users to identify the accuracy and reliability differences in the power margin information provided by the power supply device, make appropriate preparations, and reduce the situation of operational limitations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119440207A_ABST
    Figure CN119440207A_ABST
Patent Text Reader

Abstract

The invention provides an electronic device, a control method, a storage medium, and a program product. The electronic device operates using power received from a power supply device, and includes: a connection unit configured to be connected with the power supply device; and a control unit configured to obtain first remaining amount information related to power that can be supplied from the power supply device, calculate second remaining amount information related to power with which the electronic device can operate based on the first remaining amount information, and display the second remaining amount information. The control unit switches the display accuracy of the second remaining amount information on the basis of the reliability of the first remaining amount information obtained from the power supply device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an electronic device, a control method, a storage medium and a program product, and in particular to a control method for displaying the operable time of the electronic device. Background Art

[0002] The Universal Serial Bus (USB) Power Delivery (PD) standard is a standard that can supply power by connecting a power supply device and a power receiving device via a USB Type-C standard connector and cable. In the USB PD standard, a power supply device (source device) and a power receiving device (sink device) detect the connection between the devices by communicating (CC communication) via the configuration channel (CC) terminal of the USB Type-C connector, negotiate power supply and power receiving, and exchange information such as the remaining battery level.

[0003] The power supply device is a mobile battery, etc., and the power receiving device is a digital camera, etc. The power receiving device operates using power supplied from the power supply device connected to the USB Type-C connector. The power receiving device calculates information such as the operable time using power supplied from the power supply device based on the remaining battery information obtained from the power supply device, and displays the information.

[0004] However, since the accuracy and reliability of the remaining battery information obtained from the power supply device differ depending on the revision of the standard for communication with the power supply device, the accuracy and reliability of information such as the operable time of the power receiving device calculated based on the remaining battery information obtained from the power supply device also differ. Even if the accuracy and reliability of the remaining battery information obtained from the power supply device differ, in the case where the accuracy when displaying information such as the operable time calculated by the power receiving device is the same, the user cannot recognize the difference in the accuracy and reliability of information such as the operable time, and therefore cannot make appropriate preparations. Summary of the invention

[0005] The present invention has been made in consideration of the above problems and realizes a technology that allows a user to recognize a difference in accuracy and reliability of information on the remaining amount of power that can be supplied from a power supply device when the power supply device is connected to a power receiving device.

[0006] In order to solve the above-mentioned problem, the present invention provides an electronic device for operating using power received from a power supply device, the electronic device comprising: a connection unit, which is configured to be connected to the power supply device; and a control unit, which is configured to obtain first balance information related to the power that can be supplied from the power supply device, calculate second balance information related to the power that the electronic device can use to operate based on the first balance information, and display the second balance information, wherein the control unit switches the display accuracy of the second balance information based on the reliability of the first balance information obtained from the power supply device.

[0007] In order to solve the above-mentioned problem, the present invention provides a control method of an electronic device, wherein the electronic device includes a connection unit configured to be connected to a power supply device and is operated using power received from the power supply device, the control method including: a step for obtaining first balance information related to the power that can be supplied from the power supply device; a step for calculating second balance information related to the power that the electronic device can use to operate based on the first balance information; and a step for displaying the second balance information, wherein the display accuracy of the second balance information is switched based on the reliability of the first balance information obtained from the power supply device.

[0008] In order to solve the above-mentioned problems, the present invention provides a computer-readable storage medium storing a program for causing a computer to function as the electronic device as described above.

[0009] In order to solve the above-mentioned problems, the present invention provides a program product including a program for causing a computer to function as the electronic device as described above.

[0010] According to the present invention, the user can recognize the difference in accuracy and reliability of information on the remaining amount of electric power that can be supplied from the power supply device.

[0011] Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings). BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 is a block diagram showing a hardware configuration of a power receiving device according to the present embodiment.

[0013] Figure 2 : is a block diagram showing a detailed hardware configuration of the power supply device and the power receiving device according to the present embodiment.

[0014] Figure 3 is a functional block diagram of a display control unit according to this embodiment.

[0015] Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 : is a diagram showing an example of display of the operable time in the power receiving device according to the present embodiment.

[0016] Figure 5 is a flowchart showing the display control process according to the present embodiment. DETAILED DESCRIPTION

[0017] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments are not intended to limit the scope of the claimed invention. A plurality of features are described in the embodiments, but the invention requiring all such features is not limited, and a plurality of such features may be appropriately combined. In addition, in the accompanying drawings, the same reference numerals are assigned to the same or similar configurations, and redundant descriptions thereof are omitted.

[0018] With regard to the present embodiment, the power receiving device obtains first remaining information related to the power that can be supplied from the power supply device, calculates second remaining information related to the power with which the power receiving device can be operated based on the first remaining information, and displays the second remaining information. At this time, the power receiving device switches the display accuracy of the second remaining information based on the reliability of the first remaining information obtained from the power supply device. This allows the user to recognize the difference between the reliability of the first remaining information obtained from the power supply device and the reliability of the second remaining information calculated based on the first remaining information and make appropriate preparations, thereby reducing situations such as the operation being inadvertently restricted. Appropriate preparations are, for example, preparing a mobile battery for replacement and changing the operation mode of the power receiving device to a low power mode.

[0019] In this embodiment, an example will be described in which the electronic device is applied to an imaging device such as a digital camera capable of capturing still images and moving images. The imaging device may be any device as long as it can be operated as a digital camera, and may be a smartphone, a tablet computer, an industrial camera, a medical camera, or the like.

[0020] First, refer to Figures 1 to 3 The configurations and functions of the power supply device and the power receiving device according to the present embodiment will be described.

[0021] Figure 1 is a block diagram showing a hardware configuration of a power receiving device according to the present embodiment.

[0022] The power receiving device according to the present embodiment is the image pickup apparatus 100 .

[0023] The control unit 101 includes a processor (CPU) for performing calculation processing and control processing of the imaging apparatus 100 , and controls the components of the imaging apparatus 100 by executing a control program stored in a nonvolatile memory 103 .

[0024] The volatile memory 102 is a RAM. Constants, variables, and control programs read from the nonvolatile memory 103 used for the operation of the control unit 101 are loaded into the volatile memory 102. The volatile memory 102 stores image data received from an external device by the connection unit 107 and image data obtained by the imaging unit 110.

[0025] The nonvolatile memory 103 is an electrically erasable and recordable EEPROM or flash memory, etc. The nonvolatile memory 103 stores constants and control programs, etc. used for the operation of the control unit 101. In addition, the nonvolatile memory 103 stores information related to power consumption corresponding to the operation mode of the imaging apparatus 100, and a reference table for determining revisions of a communication standard used for communication with an external device, etc.

[0026] The operation unit 104 is an operation member such as various switches, buttons, and a touch panel for receiving various operations from the user and notifying the control unit 101. The operation unit 104 also provides a user interface for the user to operate the imaging apparatus 100.

[0027] The display unit 105 displays a live view image, a captured image, text for interactive operation, and an operation mode of the imaging apparatus 100, etc. The display unit 105 displays the remaining amount information of the battery 120 mounted on the imaging apparatus 100 and the time during which the imaging apparatus 100 can operate based on the remaining amount information of the battery 214 of the power supply device 200 connected to the imaging apparatus 100. The display unit 105 is, for example, a display device such as a liquid crystal display or an organic EL display. The display unit 105 may be configured to be integrated with the imaging apparatus 100, or may be an external device connected to the imaging apparatus 100.

[0028] The recording medium 106 is, for example, a memory card or a hard disk to which data can be written and read by the control unit 101. The recording medium 106 stores image files, control programs, and the like.

[0029] The connection unit 107 is an interface for connecting to an external device such as the power supply device 200 according to the present embodiment. The camera apparatus 100 is connected to the external device via the connection unit 107 to enable communication and power reception. The connection unit 107 is an interface that complies with, for example, the Universal Serial Bus (USB) standard (particularly, the USB Type-C and USB Power Delivery (PD) standard). By controlling the connection unit 107, the camera apparatus 100 can communicate and receive power with the external device in accordance with the USB PD standard.

[0030] The connection unit 107 is not limited to being an interface conforming to the USB standard, and may be an interface capable of communicating and receiving power using other methods.

[0031] The power supply device 200 according to the present embodiment is a charger such as a mobile battery, and includes a communication function and a power supply function that conform to the Universal Serial Bus (USB) standard (particularly the USB Type-C and USB PD standards). The power supply device 200 is not limited to being a mobile battery, and may be a personal computer (PC) or the like including a rechargeable battery.

[0032] The power supply circuit 108 can receive power from a battery 120 mounted on the imaging apparatus 100 and charge the battery 120. The battery 120 is a primary battery such as an alkaline battery or a lithium battery, or a rechargeable secondary battery such as a NiCd battery, a NiMH battery, or a lithium ion battery. The battery 120 is attachable to and detachable from the imaging apparatus 100, and can supply power to the imaging apparatus 100.

[0033] The power circuit 108 converts the voltage of power supplied from the battery 120 or from the power supply device 200 via the connection unit 107 into a voltage that enables each component of the imaging apparatus 100 to operate.

[0034] The imaging lens (lens unit) 109 includes a lens group (not shown) (including a zoom lens and a focus lens, etc.), a lens driving unit (not shown), an aperture (not shown), etc., and forms an optical image of the subject on the imaging plane of the imaging unit 110.

[0035] The imaging unit 110 includes an image sensor constituted by a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) device or the like, and converts an optical image of a subject into an electric signal.

[0036] The control unit 101 performs various image processing on the image data captured by the imaging unit 110, generates an image file (e.g., a still image or a moving image), and displays the image file on the display unit 105 or stores the image file in the recording medium 106. The control unit 101 performs predetermined calculation processing using the image data captured by the imaging unit 110, and performs exposure control and distance measurement control based on the calculation results.

[0037] Next, we will refer to Figure 2 A connection configuration of the imaging apparatus 100 and the power supply device 200 is described.

[0038] The imaging apparatus 100 is physically and electrically connected to the power supply device 200 via the USB Type-C cable 220 , and can perform communication and receive power.

[0039] The control unit 101 includes a display control unit 300 that performs control for displaying the second remaining amount information according to the present embodiment. Figure 3 The configuration of the display control unit 300 is described in detail in .

[0040] The connection unit 107 includes a USB connector 201, a VBUS power receiving circuit 202, and a CC communication interface circuit 203. The USB connector 201 and the USB connector 211 to be described later are USB Type-C connectors to which the USB Type-C cable 220 can be connected. The USB Type-C connector includes a D+ / D- terminal and an SS+ / SS- terminal of a data communication line, a GND terminal (not shown) of a GND signal, a VBUS terminal of a power supply line, and a configuration channel (CC) terminal. The CC terminal is a terminal that complies with the USB Type-C and USB PD standards.

[0041] The VBUS power receiving circuit 202 is composed of a DCDC converter or the like for converting the VBUS voltage supplied from the power supply device 200 into the voltage of the system power supply of the imaging apparatus 100. The power supply circuit 108 supplies the power whose voltage has been converted in the VBUS power receiving circuit 202 to each unit of the imaging apparatus 100. The imaging apparatus 100 operates using the power supplied from the power supply circuit 108. The CC communication interface circuit 203 is connected to the CC communication interface circuit 213 of the power supply device 200 via the CC terminal of the USB connector 201, and is configured by, for example, a dedicated IC for CC communication.

[0042] The power supply device 200 is a mobile battery that complies with the USB Type-C and USB PD standards and includes a USB connector 211 , a VBUS power supply circuit 212 , a CC communication interface circuit 213 , a battery 214 and a control unit 215 .

[0043] The VBUS power supply circuit 212 is configured by a DCDC converter or the like for generating a VBUS voltage from an electromotive force of a battery 214 of the power supply device 200. The battery 214 is built in to supply power for operation of the power supply device 200, and is composed of a lithium ion battery or the like. The USB connector 211 and the CC communication interface circuit 213 are similar to the USB connector 201 and the CC communication interface circuit 203, respectively.

[0044] The control unit 215 includes a processor (CPU) for performing calculation processing and control processing of the power supply device 200 , and a memory, and controls each component of the power supply device 200 by executing a control program stored in the memory.

[0045] The control unit 215 performs power supply negotiation in accordance with the USB PD standard with the camera 100 via the CC communication interface circuit 213 and exchanges power supply information of the power supply device 200 and remaining amount information of the battery 214. In the present embodiment, the remaining amount information of the battery 214 corresponds to the first remaining amount information related to the power that can be supplied from the power supply device 200.

[0046] Next, we will refer to Figure 3 The configuration of the display control unit 300 of the control unit 101 according to the present embodiment is described.

[0047] Each function of the display control unit 300 is configured by hardware and / or software. Figure 3 In the case of the functional units shown, only the Figure 3 The circuit configuration corresponding to each functional unit.

[0048] The display control unit 300 includes a serial communication unit 301 , a communication standard determination unit 302 , a display accuracy switching unit 303 , a margin information calculation unit 304 , and a display data generation unit 305 .

[0049] The serial communication unit 301 is configured by a serial communication circuit such as I2C, and is connected to the CC communication interface circuit 203. The serial communication unit 301 obtains the remaining amount information of the battery 214 from the power supply device 200 via the CC communication interface circuit 203.

[0050] The communication standard determination unit 302 determines the revision of the communication standard of the CC communication interface circuit 203 via the serial communication unit 301, and determines the reliability of the remaining amount information of the battery 214 based on the revision of the communication standard. The revision of the communication standard can be determined by the version information of the communication standard, and the reliability of the remaining amount information of the battery 214 can be determined by referring to a table stored in the nonvolatile memory 103 for evaluating the reliability of the remaining amount information of the battery 214 for each revision of the communication standard, for example.

[0051] The display accuracy switching unit 303 switches the display accuracy of the second remaining amount information generated in the display data generating unit 305 described later according to the determination result of the communication standard determining unit 302. In this embodiment, the operable time of the imaging apparatus 100 calculated based on the remaining amount information of the battery 214 corresponds to the second remaining amount information.

[0052] Hereinafter, the remaining amount information of the battery 214 of the power supply device 200 will be described as first remaining amount information, and the operable time of the imaging apparatus 100 calculated based on the remaining amount information of the battery 214 will be described as second remaining amount information.

[0053] The remaining information calculation unit 304 calculates second remaining information based on the first remaining information obtained by the serial communication unit 301 from the power supply device 200 and the power consumption of the imaging apparatus 100. The display data generation unit 305 generates display data to be output to the display unit 105 based on the second remaining information calculated by the remaining information calculation unit 304.

[0054] Next, a method for calculating the second remaining amount information based on the first remaining amount information obtained from the power supply device 200 and the power consumption of the imaging apparatus 100 will be described.

[0055] The calculated operable time T [min] as the second remaining capacity information may be obtained by the following Formula 1 using the first remaining capacity information C [mAh], the current consumption I [mA] of the imaging apparatus 100 , the margin capacitance M [mAh], and the correction coefficient K as parameters.

[0056] (Formula 1)

[0057] T=(CM)×K / I×60

[0058] Next, we will refer to Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 The display appearance of the second remaining amount information whose display accuracy can be switched based on the reliability of the first remaining amount information according to the present embodiment will be described.

[0059] In this embodiment, the second remaining information includes a plurality of display appearances. The plurality of display appearances include a first display appearance and a second display appearance. The first display appearance is as follows: Fig.4A1 , Figure 4B1 and Fig.4C1 The second display appearance is as shown in FIG. Figure 4A2 , Figure 4B2 and Figure 4C2 The operable time of the imaging apparatus 100 is shown.

[0060] The first display appearance is displayed in different forms based on the reliability of the first remaining information. The different forms are Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 In the example, it is the fineness (granularity) of the icon pattern, but it can also be different forms such as gradients and colors. Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 In the example, according to Fig.4A1 , Figure 4B1 and Fig.4C1 In the order of, the finer the pattern of the icon, the higher the reliability of the first remaining information and the more accurate the second remaining information. On the contrary, the sparser the pattern of the icon, the lower the reliability of the first remaining information and the less accurate the second remaining information.

[0061] The second display appearance is displayed by increasing or decreasing the minimum unit time of the operable time based on the reliability of the first remaining information. The minimum unit time is Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 In the example of , the unit time represents the operable time, but it may also be information indicating a unit based on other time. The smaller the minimum unit to be displayed, the higher the reliability of the first remaining information and the more accurate the operable time. Conversely, the larger the minimum unit time, the lower the reliability of the first remaining information and the less accurate the operable time. Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 In the example, the smallest unit to be displayed is one minute. Figure 4A2 The case of means that the reliability of the first balance information is the highest and the operable time is the most accurate, and the minimum unit to be displayed is 10 minutes Figure 4C2 The situation means that the reliability of the first balance information is the lowest and the operable time is the least accurate. In addition, the minimum unit time is 5 minutes. Figure 4B2 This means that the minimum unit to be displayed is 10 minutes. Figure 4C2 Compared with the first case, the reliability of the remaining information is higher and the operable time is more accurate, but the minimum unit to be displayed is one minute. Figure 4A2 Compared with the first case, the reliability of the remaining information is lower and the operable time is less accurate.

[0062] Therefore, by viewing the first display appearance, the user can recognize the accuracy and reliability of the second remaining information of the second display appearance. Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 In the example of FIG. 1 , an example has been described in which three types of levels can be set as the display accuracy level, but a configuration that enables three or more types of levels to be set may also be adopted.

[0063] Next, we will refer to Figure 5 The display control process of the imaging apparatus 100 is described.

[0064] The control unit 101 serving as the display control unit 300 executes a program stored in the nonvolatile memory 103 and controls each component of the imaging apparatus 100. Figure 5 When the imaging apparatus 100 is connected to the power supply device 200, the power is turned on, and the system is activated, the control unit 101 starts the processing.

[0065] In step S501 , the serial communication unit 301 starts communicating with the power supply device 200 via the CC communication interface circuit 203 .

[0066] In step S502, the communication standard determination unit 302 determines the version information of the standard of the communication started in step S501, and determines the reliability of the first remaining amount information to be obtained from the power supply device 200 based on the determination result. The communication standard determination unit 302 determines that the newer the version information of the communication standard is, the higher the reliability of the first remaining amount information is, for example, by referring to a table for evaluating the reliability of the first remaining amount information for each revision of the communication standard stored in the nonvolatile memory 103.

[0067] In step S503, the display accuracy switching unit 303 sets the display accuracy of the second remaining information to be generated by the display data generating unit 305 based on the reliability of the first remaining information determined in step S502. The display accuracy switching unit 303 sets the display accuracy of the second remaining information to be generated by the display data generating unit 305 based on the reliability of the first remaining information determined in step S502. Fig.4A1 , Figure 4A2 , Figure 4B1 , Figure 4B2 , Fig.4C1 and Figure 4C2 The first display appearance and the second display appearance are shown.

[0068] In step S504 , the remaining amount information calculation unit 304 obtains the first remaining amount information from the power supply device 200 via the serial communication unit 301 .

[0069] In step S505 , the remaining amount information calculation unit 304 calculates second remaining amount information based on the first remaining amount information obtained from the power supply device 200 in step S504 .

[0070] In step S506 , the display data generating unit 305 generates display data based on the second remaining amount information calculated in step S505 , and displays the display data on the display unit 105 .

[0071] In step S507, the control unit 101 determines whether to continue to communicate with the power supply device 200, and if it is determined that the communication is to be continued, the processing is returned to step S504, and if it is determined that the communication is not to be continued, the processing is terminated. The control unit 101 determines to stop the communication, for example, when the power of the imaging apparatus 100 is turned off or when the removal of the USB cable is detected, and otherwise, determines to continue the communication.

[0072] As described above, according to the present embodiment, the reliability of the first remaining information to be obtained from the power supply device 200 is determined according to the revision of the standard of communication between the imaging apparatus 100 and the power supply device 200, and the display accuracy of the second remaining information in the imaging apparatus 100 is switched according to the determination result. This allows the user to recognize the difference between the reliability of the first remaining information obtained from the power supply device and the reliability of the second remaining information calculated based on the first remaining information and to make appropriate preparations, thereby reducing situations such as operations being restricted inadvertently.

[0073] The first margin information may be determined by referring to an inherent bit indicating a revision of the communication standard, or according to a storage format of the first margin information or a corresponding command. Figure 5 The version of the communication standard in step S502.

[0074] also, Figure 5The reliability of the first remaining information in step S502 and the setting of the display accuracy of the second remaining information in step S502 can be determined using the timing when the revision of the communication standard is released as a reference, or can be determined and set based on the result of the determination as to whether the revision of the communication standard is a revision of a specific communication standard.

[0075] In addition, a method may be adopted in which the user is allowed to select whether to execute Figure 5 The calculation and display of the second remaining amount information in steps S505 and S506 are configured.

[0076] In addition, it is possible to adopt a method such that the operation is performed only for the first remaining amount information obtained via a general interface such as a USB, and not for the remaining amount information of the battery 120 connected via a dedicated interface. Figure 5 The calculation and display of the second remaining amount information in steps S505 and S506 are configured.

[0077] Other embodiments

[0078] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.

[0079] Although the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims

1. An electronic device for operating using power received from a power supply device, the electronic device comprising: a connecting unit configured to be connected to the power supply device; as well as a control unit configured to obtain first remaining amount information related to the electric power that can be supplied from the power supply device, calculate second remaining amount information related to the electric power with which the electronic device can operate based on the first remaining amount information, and display the second remaining amount information, The control unit switches display accuracy of the second remaining amount information based on reliability of the first remaining amount information obtained from the power supply device.

2. The electronic device according to claim 1, further comprising: A display unit is configured to display the second remaining amount information.

3. The electronic device according to claim 1, wherein: The control unit determines reliability of the first remaining amount information based on a revision of a communication standard according to which communication with the power supply device is performed via the connection unit.

4. The electronic device according to claim 3, wherein: The revision of the communication standard is determined according to the version information of the communication standard.

5. The electronic device according to claim 3, wherein: The revision of the communication standard is determined based on data indicative of the revision of the communication standard.

6. The electronic device according to claim 3, wherein: A revision of the communication standard is determined based on a storage format of the first margin information.

7. The electronic device according to claim 4, wherein: The control unit determines that the newer the version information of the communication standard is, the higher the reliability of the first remaining amount information is.

8. The electronic device according to claim 5, wherein: The control unit increases the display accuracy as the reliability of the first remaining amount information increases.

9. The electronic device according to any one of claims 1 to 8, wherein: The second remaining power information includes an operable time of the electronic device calculated based on the first remaining power information.

10. The electronic device according to any one of claims 1 to 8, wherein: The first remaining power information is remaining power information of a battery included in the power supply device. The connection unit is a universal interface, and The control unit does not calculate and display the second remaining amount information based on remaining amount information of a battery connected through a dedicated interface.

11. The electronic device according to claim 10, wherein: The universal interface complies with the USB Type-C standard, and The communication with the power supply device is CC communication of the USB PD standard.

12. A control method of an electronic device, the electronic device comprising a connection unit configured to be connected to a power supply device and operated using power received from the power supply device, the control method comprising: a step of acquiring first remaining amount information related to electric power that can be supplied from the power supply device; a step for calculating second remaining amount information related to electric power with which the electronic device can operate based on the first remaining amount information; as well as A step for displaying the second remaining amount information, The display accuracy of the second remaining amount information is switched based on the reliability of the first remaining amount information obtained from the power supply device.

13. A computer-readable storage medium storing a program for causing a computer to function as the electronic device according to any one of claims 1 to 11.

14. A program product comprising a program for causing a computer to function as the electronic device according to any one of claims 1 to 11.