Electronic device for controlling booting speed, operating method thereof, and storage medium

By detecting power mode and battery capacity at boot-up, the electronic device optimizes boot speed by switching to adapter mode when battery capacity is sufficient, addressing the variability in boot times and improving user experience.

WO2025174028A1PCT designated stage Publication Date: 2025-08-21SAMSUNG ELECTRONICS CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2025/001977
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-12
Filing Date
2025-02-11
Publication Date
2025-08-21

AI Technical Summary

Technical Problem

The boot time of electronic devices varies significantly between adapter mode and battery mode, leading to prolonged waiting times when operating on battery power, which affects user satisfaction.

Method used

An electronic device and method that utilizes a BIOS to detect the power mode and battery capacity at boot-up, allowing it to switch to adapter mode if the battery capacity is sufficient, thereby optimizing boot speed regardless of power source.

Benefits of technology

This approach ensures a consistent fast boot time across both power modes, minimizing user wait times and enhancing user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2025001977_21082025_PF_FP_ABST
    Figure KR2025001977_21082025_PF_FP_ABST
Patent Text Reader

Abstract

According to one embodiment, an electronic device may comprise a battery, a microcomputer, at least one processor, and a memory for storing instructions. According to one embodiment, when executed by the at least one processor, the instructions are configured such that the electronic device drives a basic input / output system (BIOS) and an operating system (OS), wherein the BIOS can be configured to check, on the basis of power source detection information provided through the microcomputer when booting starts, whether a power source mode is a battery mode for receiving a power source from the battery or an adapter mode for receiving the power source from an adapter. According to one embodiment, the BIOS can be configured to: identify the remaining capacity of the battery when the power source mode is the battery mode; and, on the basis of identifying that the remaining capacity of the battery is greater than or equal to a threshold value, transmit, to the OS, an instruction for operating in the adapter mode.
Need to check novelty before this filing date? Find Prior Art

Description

Electronic device for controlling boot speed, method of operation thereof and storage medium

[0001] One embodiment disclosed in this document relates to an electronic device for controlling booting speed, a method of operating the same, and a storage medium.

[0002] Electronic devices (e.g., computers) can be divided into laptop computers and desktop computers based on their portability. Laptop computers offer nearly the same functionality as desktop computers. Consequently, demand for laptop computers is increasing not only for office use in businesses but also among individual users.

[0003] Electronic devices can operate using power stored in their built-in batteries or using power provided by an external power source. For example, a mode in which they operate using DC power from a battery may be referred to as battery mode (or DC mode), while a mode in which they operate using AC power supplied through an adapter may be referred to as adapter mode (or AC mode).

[0004] In adapter mode, the power supply is sufficient, so the electronic device's system settings are focused on performance. Conversely, in battery mode, the power supply is limited, so the system settings are focused on longevity rather than performance.

[0005] The above information may be provided as background art to aid in understanding the present disclosure. No claim or determination is made as to whether any of the above-described matters constitute prior art related to the present disclosure.

[0006] According to one embodiment, an electronic device may include a battery, a microcomputer, at least one processor, and a memory storing instructions. According to one embodiment, the instructions, when executed by the at least one processor, are configured to cause the electronic device to drive a basic input / output system (BIOS) and an operating system (OS), and the BIOS may be configured to determine, based on power detection information provided through the microcomputer at the start of booting, whether the power mode is a battery mode in which power is supplied from the battery or an adapter mode in which power is supplied from an adapter. According to one embodiment, the BIOS may be configured to identify a remaining capacity of the battery when the power mode is the battery mode. According to one embodiment, the BIOS may be configured to transmit a command to the operating system to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold value.

[0007] According to one embodiment, a method for controlling a boot speed in an electronic device may include an operation of identifying, through a BIOS, whether a power mode is a battery mode in which power is supplied from a battery of the electronic device or an adapter mode in which power is supplied from an adapter, based on power detection information provided through a microcomputer at the start of booting.

[0008] According to one embodiment, the method may include an operation of identifying a remaining capacity of the battery when the power mode is the battery mode.

[0009] In one embodiment, the method may include transmitting a command to the operating system to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold.

[0010] According to one embodiment, a storage medium storing at least one computer-readable instruction, wherein the at least one instruction, when executed by at least one processor of an electronic device, is configured to cause the electronic device to drive a basic input / output system (BIOS) and an operating system (OS), and to cause the BIOS to perform at least one operation, wherein the at least one operation may include an operation of identifying, through the BIOS, whether a power mode is a battery mode in which power is supplied from a battery of the electronic device or an adapter mode in which power is supplied from an adapter, based on power detection information provided through a microcomputer at the start of booting.

[0011] According to one embodiment, the at least one operation may include an operation of identifying a remaining capacity of the battery when the power mode is the battery mode.

[0012] In one embodiment, the at least one operation may include transmitting a command to the operating system to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold.

[0013] FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.

[0014] Figure 2 is a perspective view of an electronic device according to one embodiment.

[0015] FIG. 3 is a block diagram illustrating the internal configuration of an electronic device according to one embodiment.

[0016] Figure 4 is an internal block diagram of an electronic device for controlling booting speed according to one embodiment.

[0017] FIG. 5 is a flowchart illustrating an operation of an electronic device for controlling a booting speed according to an embodiment.

[0018] Figure 6 is a flowchart of the operation of an electronic device in battery mode at boot time according to one embodiment.

[0019] FIG. 7 is a detailed operation flowchart of an electronic device in a battery mode in which the battery capacity is greater than a threshold value at boot time according to one embodiment.

[0020] Figure 8 is a graph showing the relationship between battery capacity and voltage according to one embodiment.

[0021] Figure 9 is a flow chart of signal transmission and reception between a BIOS, an operating system, and a microcomputer according to one embodiment.

[0022] In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.

[0023] FIG. 1 is a block diagram of an electronic device (101) within a network environment (100), according to one embodiment. Referring to FIG. 1 , in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of the electronic device (104) or the server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may have one or more other components added. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).

[0024] The processor (120) may, for example, execute software (e.g., a program (140)) to control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) and perform various data processing or operations. According to one embodiment, as at least a part of the data processing or operations, the processor (120) may store commands or data received from other components (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the commands or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together with the main processor (121). For example, when the electronic device (101) includes the main processor (121) and the auxiliary processor (123), the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as a part thereof.

[0025] The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display module (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). In one embodiment, the auxiliary processor (123) (e.g., a neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. The artificial intelligence models may be generated through machine learning. This learning can be performed, for example, on the electronic device (101) itself where the artificial intelligence model is executed, or can be performed through a separate server (e.g., server (108)). The learning algorithm can include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model can include multiple artificial neural network layers.The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), a deep Q-network, or a combination of two or more of the above, but is not limited to the examples described above. In addition to, or alternatively to, a hardware structure, an artificial intelligence model may include a software structure.

[0026] The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or non-volatile memory (134).

[0027] The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).

[0028] The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).

[0029] The audio output module (155) can output audio signals to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes, such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. In one embodiment, the receiver can be implemented separately from the speaker or as part of the speaker.

[0030] The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.

[0031] The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through the input module (150), output sound through the sound output module (155), or an external electronic device (e.g., electronic device (102)) (e.g., speaker or headphone) directly or wirelessly connected to the electronic device (101).

[0032] The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.

[0033] The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

[0034] The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).

[0035] The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

[0036] The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.

[0037] The power management module (188) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).

[0038] A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

[0039] The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, the corresponding communication module can communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules can be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) can verify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199) by using subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196).

[0040] The wireless communication module (192) can support 5G networks and next-generation communication technologies following the 4G network, such as NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) can support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) can support various requirements specified in the electronic device (101), an external electronic device (e.g., the electronic device (104)), or a network system (e.g., the second network (199)). According to one embodiment, the wireless communication module (192) can support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL), or 1 ms or less for round trip) for URLLC realization.

[0041] The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas, for example, by the communication module (190). A signal or power may be transmitted or received between the communication module (190) and an external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).

[0042] According to various embodiments, the antenna module (197) may form a mmWave antenna module. In one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., a bottom side) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) disposed on or adjacent a second side (e.g., a top side or a side side) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.

[0043] At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).

[0044] According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that receive the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In one embodiment, the external electronic device (104) may include an Internet of Things (IoT) device. The server (108) may be an intelligent server utilizing machine learning and / or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199).The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

[0045] In the detailed description below, reference numerals in the drawings may be used interchangeably or omitted for components that can be easily understood through the preceding embodiments, and their detailed descriptions may also be omitted. The electronic device (101) according to one embodiment disclosed in this document may be implemented by selectively combining components of different embodiments, and components of one embodiment may be replaced by components of another embodiment. For example, it should be noted that the present invention is not limited to specific drawings or embodiments.

[0046] Hereinafter, the terms 'unit', 'module', or 'table' used in the present disclosure mean software, hardware components such as Field Programmable Gate Arrays (FPGAs), or Application Specific Integrated Circuits (ASICs), and a module performs certain functions. However, a module is not limited to software or hardware. A module may be configured to be on an addressable storage medium and may be configured to reproduce one or more processors. The functions provided within the components and modules may be combined into a smaller number of components and modules or further separated into additional components and modules. In addition, the components and modules may be implemented to reproduce one or more CPUs within the device.

[0047] In adapter mode, the power supply is sufficient, so the electronic device's system settings are focused on performance. Conversely, in battery mode, the power supply is limited, so the system settings are focused on longevity rather than performance. Consequently, system settings at boot time may differ depending on adapter mode or battery mode, and thus the boot time perceived by the user may vary. For example, in battery mode, system (e.g., CPU) performance may be reduced to minimize power consumption, resulting in a longer boot time. In adapter mode, system (e.g., CPU) performance may be maximized, resulting in a shorter boot time. Consequently, booting in battery mode without the adapter connected can take longer than in adapter mode with the adapter connected. Therefore, even if the user wants to use the electronic device quickly, they may have to wait a long time for the boot to complete. Therefore, if booting can be performed at the same speed in battery mode as in adapter mode, the perceived boot time may be reduced.

[0048] In one embodiment, an electronic device, an operating method thereof, and a storage medium for controlling a booting speed can be provided so as to increase a booting speed regardless of a power mode (e.g., battery mode, adapter mode) in an electronic device that operates by receiving power from an adapter or a battery.

[0049] According to one embodiment, user waiting can be minimized by achieving a fast boot time during booting, thereby increasing user satisfaction.

[0050] Figure 2 is a perspective view of an electronic device according to one embodiment.

[0051] According to one embodiment, the electronic device (201) may be various types of computers. For example, the electronic device (201) may include a notebook computer, a laptop computer, or a tablet computer, including a standard notebook, an ultrabook, a netbook, and a tabbook. Furthermore, without being limited to the description, the electronic device (201) may be implemented as various types of electronic devices (201) that receive power from an adapter or a battery to perform operations.

[0052] According to one embodiment, the electronic device (201) may include a housing (210 or 220) as illustrated in FIG. 2. According to one embodiment, the electronic device (201) may include a touch screen display (260) (e.g., the display module (160) of FIG. 1) arranged in a manner that is exposed to at least a portion of the housing (210 or 220). According to one embodiment, the electronic device (201) may include a keyboard (e.g., the input module (150) of FIG. 1) arranged in a manner that is exposed to at least a portion of the housing (210 or 220).

[0053] According to one embodiment, the electronic device (201) may include at least one connector (203) (e.g., connection terminal (178) of FIG. 1) that enables connection to an external device (e.g., an external power supply device). Additionally, the connector (203) may be a socket-type connector.

[0054] According to one embodiment, an opening (204) may be formed in at least a portion of the housing (210 or 220) to expose the connector (203), and the connector (203) may be positioned within the opening (204). According to one embodiment, an external connector (207) in the form of a header may be coupled to the connector (203) in a forward or reverse direction. That is, the external connector (207) may be plugged into the connector (203) in any direction regardless of the direction. According to one embodiment, the external connector (207) may be connected to an external power supply device via a cable, and when the connector (203) and the external connector (207) are coupled, the electronic device (201) and the external power supply device may be connected. According to one embodiment, the external power supply device may be various external devices that may be connected to the electronic device (201). For example, an external power supply device may include a USB OTG (on-the-go) device, a charger (or battery pack), a charging adapter, an audio device, a laptop, a computer, memory, or an antenna (e.g., a digital multimedia broadcasting antenna or FM antenna). For example, the external power supply device may be a device that transmits external power to the electronic device (201), and the type thereof may not be limited thereto. In the following description, an adapter will be used as an example of an external power supply device.

[0055] According to one embodiment, the connector (203) may be used as an interface for connecting the electronic device (201) and an external power supply device or power source (not shown). The electronic device (201) may receive power from a power source through the connector (203) or charge a battery using the power source. In addition, the electronic device (201) may transmit data of the electronic device (201) to the external power supply device or receive data from the external power supply device through an external connector (207) connected to the connector (203). According to one embodiment, the connector (203) may include a USB (universal serial bus) Type C, and a contact substrate (205) may be formed therein. In addition, a mid plate (206) having electrically conductive properties may be formed inside the contact substrate (205), and a plurality of pins may be formed on the upper and lower surfaces of the contact substrate (205).

[0056] The electronic device (201) can use power supplied from an adapter corresponding to an external power supply as its operating power. When the adapter is not connected via the external connector (207), the electronic device (201) can operate using power from a battery.

[0057] The electronic device (201) can switch between power modes, such as adapter mode and battery mode. For example, if power supply from the adapter is unavailable, the device can switch to battery mode, and if the adapter is connected while operating in battery mode, the device can switch to adapter mode.

[0058] Hereinafter, the internal configuration of the electronic device will be described with reference to FIGS. 3 and 4. FIG. 3 is a block diagram illustrating the internal configuration of an electronic device according to one embodiment, and FIG. 4 is a block diagram illustrating the internal configuration of an electronic device for controlling a booting speed according to one embodiment.

[0059] Referring to FIGS. 3 and 4, an electronic device (e.g., electronic device (201) of FIG. 2) may include a basic input / output system (BIOS) (310), a microcomputer (micom) (320), and an operating system (OS) (360). The electronic device (201) may further include hardware (350), multiple drivers, or multiple applications.

[0060] BIOS (310) can be said to be a program that performs basic processing functions that control and operate communication between electronic devices (201) and peripheral devices, manages input / output by relaying hardware and software, and controls the flow of all electronic devices (201) from the time the electronic device (201) is first turned on until the power is turned off.

[0061] According to one embodiment, the BIOS (310) can control booting, initialization and operation of the system.

[0062] The operating system (360) is system software that loads the kernel into the main memory along with the startup of the electronic device (201) to operate the electronic device (201) and manage application programs. For example, the operating system (360) is software that runs on hardware (350) and may include software such as multiple drivers or multiple applications. Here, the driver may be middleware for driving the peripheral devices of the electronic device (201), and the application may be application software that includes a driver extension.

[0063] The microcomputer (320) can control operations related to a battery (330) or adapter (340) that supplies power.

[0064] Referring to FIG. 4, the electronic device (201) may include a microcomputer (320), a BIOS (310), an operating system (360), an application program (405) (or applications of FIG. 3), or a device driver (410) (or drivers of FIG. 3). All or part of the SW component (415) may be executed by a processor (e.g., the processor (120) of FIG. 1) (e.g., a CPU). For example, even if only the BIOS (310), the operating system (360), the application program (405), and / or the device driver (410) are mentioned, it may mean that the instructions stored in the memory (130) are executed by the processor (120). In addition, a combination (420) of the microcomputer (320) and the SW component (415) may be an example of the processor (120).

[0065] In one embodiment, when power is turned on in the electronic device (201), the system starts booting, and the BIOS (310) can check the system during booting and prepare the operating and other configuration settings. The BIOS (310) can load the operating system (360) within the electronic device (201) during booting and pass control to the operating system (360).

[0066] According to one embodiment, the BIOS (310) can check the power mode through the microcomputer (320) when checking the system at boot time. For example, the microcomputer (320) can store (or record, change) information such as the status of the adapter (e.g., the status of AC power), the status of the battery, or the battery capacity in real time in a memory area (e.g., EC RAM) accessible by the BIOS (310). The BIOS (310) can check the power mode by reading the memory area and checking the information stored in the memory area.

[0067] The BIOS (310) can check the remaining capacity of the battery in response to confirming that the power mode is battery mode. For example, the BIOS (310) can sequentially or simultaneously obtain information such as the battery mode and the remaining capacity of the battery. Based on the remaining capacity being above a threshold, the BIOS (310) can load the operating system (360) within the electronic device (201) during booting and transfer control (or control authority) to the operating system (360). At this time, the BIOS (310) can notify the operating system (360) that it is in adapter mode even though it is in battery mode so that the booting can be completed at a fast booting speed when transferring control restrictions during booting to the operating system (360). Accordingly, the BIOS (310) can transfer (or provide) a command (or control authority) to the operating system (360) to operate in adapter mode. Afterwards, when booting is complete, a command to change the adapter mode to the original mode, battery mode, can be transmitted (or provided) to the operating system (360). Here, since the user may connect the adapter for charging during booting, the BIOS (310) may re-check the power mode in real time when booting is complete. If the power mode was battery mode, but has been changed to adapter mode upon re-checking when booting is complete, the BIOS (310) may transmit (or provide) a command to the operating system (360) to operate in adapter mode. Alternatively, since the operating system (360) has already been notified that it is in adapter mode, the operation of transmitting a command to operate in adapter mode again may be omitted.

[0068] Meanwhile, if the BIOS (310) identifies that the remaining capacity of the battery is above a threshold, it may limit the power of the hardware (350) to correspond to the battery mode before operating in battery mode at boot time. In addition, the BIOS (310) may hide information about the adapter and the battery so that it cannot be modified or accessed by the operating system (360). By hiding the information about the adapter and the battery in this way, the operating system (360) cannot know the actual power mode, and the user cannot recognize that it is operating in adapter mode even though it is in battery mode. This hidden information may be released when the actually re-confirmed power mode is transmitted to the operating system (360). For example, after a command to operate in adapter mode is transmitted despite it being in battery mode, the information about the adapter and the battery may be hidden, and when the actual power mode is re-confirmed and it is confirmed to be battery mode, the hiding may be released in response to a command to operate in battery mode being transmitted to the operating system (360).

[0069] According to one embodiment, the BIOS (310) may perform at least one of the following operations to determine whether the last process among multiple processes performed during booting is performed, whether a sub-function of a specified driver is called, or whether a specified time has elapsed during booting, in order to determine (or determine) whether booting is complete. The method for determining the time of booting completion is not limited thereto, and may be added or modified depending on the method of the operating system (360).

[0070] According to one embodiment, the electronic device (101, 201) may include a battery (330), a microcomputer (320), at least one processor (120), and a memory (130) storing instructions. According to one embodiment, the instructions, when executed by the at least one processor, are set to cause the electronic device to drive a basic input / output system (BIOS) (310) and an operating system (OS) (360), and the BIOS (310) may be set to determine, based on power detection information provided through the microcomputer (320) at the start of booting, whether the power mode is a battery mode in which power is supplied from the battery or an adapter mode in which power is supplied from an adapter.

[0071] According to one embodiment, the BIOS (310) may be set to identify the remaining capacity of the battery when the power mode is the battery mode.

[0072] According to one embodiment, the BIOS (310) may be configured to transmit a command to the operating system (360) to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than a threshold.

[0073] According to one embodiment, the BIOS (310) may be configured to identify whether the booting is complete and, in response to identifying that the booting is complete, transmit a command to the operating system to change the adapter mode to the battery mode.

[0074] According to one embodiment, the BIOS (310) may be configured to identify whether the last process among the processes according to the booting is being performed, and, based on identifying that the last process is being performed, acquire power detection information from the microcomputer, and, based on the acquired power detection information, transmit a command to the operating system to operate in the battery mode if the power mode is the battery mode.

[0075] According to one embodiment, the BIOS (310) may be configured to identify whether a specified time has elapsed during the booting, acquire power detection information from the microcomputer based on identifying that the specified time has elapsed, and transmit a command to the operating system to operate in the battery mode based on the acquired power detection information, if the power mode is the battery mode.

[0076] According to one embodiment, the BIOS (310) may be configured to limit the power of the hardware to correspond to the battery mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold, and then transmit a command to the operating system to operate in the adapter mode.

[0077] According to one embodiment, the BIOS (310) may be configured to hide information about the adapter and the battery in response to sending a command to the operating system to operate in the adapter mode.

[0078] In one embodiment, the BIOS (310) may be configured to release the information about the adapter and the battery from being hidden in response to a command being sent to the operating system to operate in the battery mode.

[0079] According to one embodiment, the BIOS (310) may be set to obtain power detection information from the microcomputer, and then, based on the obtained power detection information, if the power mode is the battery mode, limit the power of the hardware to correspond to the battery mode.

[0080] According to one embodiment, the BIOS (310) may be configured to identify whether a sub-function of a specified driver is called and to identify whether the last process according to the boot is performed by identifying whether a sub-function of the specified driver is called.

[0081] According to one embodiment, the BIOS (310) may be configured to transmit a command to the operating system to operate in the battery mode based on identifying that the remaining capacity of the battery is below the threshold.

[0082] FIG. 5 is a flowchart illustrating an operation of an electronic device for controlling a booting speed according to an embodiment. Referring to FIG. 5, the operation method may include operations 505 to 515. Each operation of the operation method of FIG. 5 may be performed by an electronic device (e.g., the electronic device (101) of FIG. 1, the electronic device (201) of FIG. 2), at least one processor of the electronic device (e.g., the processor (120) of FIG. 1), or a BIOS of the electronic device (e.g., the BIOS (310) of FIGS. 3 and 4). In an embodiment, at least one of operations 505 to 515 may be omitted, the order of some operations may be changed, or another operation may be added.

[0083] Referring to FIG. 5, in operation 505, the electronic device (201) can identify, through the BIOS (310), whether the power mode is a battery mode in which power is supplied from the battery (330) of the electronic device or an adapter mode in which power is supplied from the adapter (340), based on power detection information provided through the microcomputer (320) at the start of booting.

[0084] In operation 510, if the power mode is the battery mode, the electronic device (201) can identify the remaining capacity of the battery.

[0085] In operation 515, the electronic device (201) may transmit a command to the operating system (OS) (360) to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold. According to one embodiment, the electronic device (201) may perform power control first before operating in the adapter mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold. Accordingly, the electronic device (201) may limit the power of the hardware corresponding to the battery mode in order to perform power control first based on identifying that the remaining capacity of the battery is greater than or equal to a threshold.

[0086] According to one embodiment, the BIOS (310) may transmit the command to the operating system (360), but the method is not limited thereto. For example, the operating system (360) may individually check the status through a function designated therein.

[0087] According to one embodiment, the electronic device (201) may identify whether the booting is complete, and in response to identifying that the booting is complete, transmit a command to the operating system to change the adapter mode to the battery mode.

[0088] According to one embodiment, the electronic device (201) may hide information about the adapter and the battery in response to transmitting a command to the operating system to operate in the adapter mode.

[0089] According to one embodiment, the electronic device (201) can identify whether the last process among the processes according to the booting is being performed. Based on identifying that the last process is being performed, the electronic device (201) can obtain power detection information from the microcomputer, and based on the obtained power detection information, if the power mode is the battery mode, transmit a command to the operating system to operate in the battery mode.

[0090] According to one embodiment, the electronic device (201) can identify whether a sub-function of a specified driver is called. By identifying whether the sub-function of the specified driver is called, the electronic device (201) can identify whether the last process according to the booting is performed.

[0091] According to one embodiment, the electronic device (201) can identify whether a specified time has elapsed during the booting. Based on identifying that the specified time has elapsed, the electronic device (201) can obtain power detection information from the microcomputer, and based on the obtained power detection information, if the power mode is the battery mode, transmit a command to the operating system to operate in the battery mode.

[0092] According to one embodiment, the electronic device (201) may, in response to transmitting a command to the operating system to operate in the battery mode, release the information about the adapter and the battery from being hidden.

[0093] According to one embodiment, the electronic device (201) may limit the power of the hardware to correspond to the battery mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold. According to one embodiment, the electronic device (201) may transmit a command to the operating system (OS) (360) to operate in the adapter mode after limiting the power of the hardware to correspond to the battery mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold.

[0094] According to one embodiment, the electronic device (201) may obtain power detection information from the microcomputer, and then, based on the obtained power detection information, if the power mode is the battery mode, limit the power of the hardware to correspond to the battery mode.

[0095] FIG. 6 is a flowchart illustrating an operation of an electronic device in battery mode during booting according to an embodiment. Referring to FIG. 6, the operation method may include operations 605 to 650. Each operation of the operation method of FIG. 6 may be performed by an electronic device (e.g., the electronic device (101) of FIG. 1, the electronic device (201) of FIG. 2), at least one processor of the electronic device (e.g., the processor (120) of FIG. 1), or a BIOS of the electronic device (e.g., the BIOS (310) of FIGS. 3 and 4). In an embodiment, at least one of operations 605 to 650 may be omitted, the order of some operations may be changed, or another operation may be added.

[0096] Referring to FIG. 6, when power is turned on in operation 605, the electronic device (201) can start booting the OS in operation 610. The electronic device (201) can identify whether the power mode is adapter mode or battery mode in operation 615.

[0097] The electronic device (201) can check the power mode, and if the adapter is connected and power can be supplied from the adapter, it can operate in adapter mode, receiving power from the adapter. Therefore, if the power mode is adapter mode, in operation 620, the electronic device (201) can perform operations according to the adapter mode. In the adapter mode, since the power supply is sufficient, the system settings of the electronic device (201) are performed with a focus on performance.

[0098] For example, the BIOS (310) may notify the operating system (360) that it is in adapter mode, and in response, the operating system (360) may load a profile corresponding to the adapter mode. Based on the loaded profile, the operating system (360) may perform initialization by loading, in the order of a kernel for booting, a low level driver, a kernel driver, and a user mode driver. Here, the user mode driver may correspond to the last process among multiple processes during booting. For example, the user mode driver may be loaded just before booting is completed, and the final booting may be completed as an extension driver or application (app.) additionally installed to an application-level service or driver is executed. When booting is completed in this way, the electronic device (201) may operate in a standby state waiting for user input.

[0099] On the other hand, if the power mode is battery mode, in operation 625, the electronic device (201) can control the power of the hardware (350). After performing power control in this manner, in operation 630, the electronic device (201) can control the operating system (360) to respond that it is in adapter mode. For example, even though the power mode is battery mode, the BIOS (310) can transmit a command to the operating system (360) to operate in adapter mode so that it can operate in adapter mode during booting. Accordingly, the operating system (360) can operate to perform operations according to the adapter mode. For example, the operating system (360) can load a profile corresponding to the adapter mode, and load a kernel for booting, a low-level driver, a kernel driver, and a user mode driver in that order to perform initialization based on the profile corresponding to the loaded adapter mode.

[0100] In operation 635, the electronic device (201) can identify whether the OS booting is complete. If, in response to identifying that the OS booting is complete, in operation 640, the electronic device (201) can re-check the power. For example, whether the booting by the operating system (360) is complete can be identified by the BIOS (310), and can be continuously identified by the BIOS (310) until the booting is complete. A method for determining whether the booting is complete can be determined based on whether the last process among a plurality of processes performed during booting is performed, whether a sub-function of a specified driver is called, or whether a specified time has elapsed during booting. The method is not limited thereto, and additions or modifications may be possible depending on the method of the operating system (360).

[0101] According to one embodiment, in response to identifying that the OS booting is complete, the BIOS (310) can check the power mode based on information provided through the microcomputer (320). For example, the microcomputer (320) can store (or record, change) in real time information such as the status of the adapter (e.g., the status of AC power), the status of the battery, or the battery capacity in a memory area (e.g., EC RAM) accessible by the BIOS (310). The BIOS (310) can check the power mode by reading the memory area and checking the information stored in the memory area. According to one embodiment, when an interface capable of transmitting information between the BIOS (310) and the microcomputer (320) is connected, the BIOS (310) can directly receive information such as the status of the adapter (e.g., the status of AC power), the status of the battery, or the battery capacity from the microcomputer (320).

[0102] As a result of reconfirming the power, in operation 645, the electronic device (201) can control the power of the hardware (350) to correspond to the reconfirmed power. For example, as a result of reconfirming the power, if the power mode is battery mode, the electronic device (201) can limit the power of the hardware (350) to correspond to the battery mode, and if the power mode is adapter mode, the electronic device (201) can not limit the power of the hardware (350) to correspond to the adapter mode. For example, in the case of adapter mode, the power limitation for the hardware (350) can be released to correspond to the battery mode, and then the power of the hardware (350) can be set to correspond to the adapter mode.

[0103] Here, the operation of limiting the power of the hardware (350) to correspond to the battery mode is described as being performed by the BIOS (310), but may also be performed by the microcomputer (320), and the subject controlling the power is not limited thereto. For example, the electronic device (201) may be set to lower the power of the hardware (350) in the battery mode compared to the adapter mode. Here, since the power consumed by the hardware (350) varies depending on the type of hardware, the value of the power set for the hardware (350) may be determined in various ways depending on the system environment.

[0104] The electronic device (201) may, after controlling the power of the hardware (350), return the reconfirmed power mode to the operating system (360) in operation 650. For example, the BIOS (310) may send a command to the operating system (360) to operate in the reconfirmed power mode, and the booting process may be terminated by returning the power mode.

[0105] FIG. 7 is a detailed operation flowchart of an electronic device in a battery mode in which a battery capacity is greater than or equal to a threshold value at booting according to an embodiment. Referring to FIG. 7, the operation method may include operations 705 to 760. Each operation of the operation method of FIG. 7 may be performed by an electronic device (e.g., the electronic device (101) of FIG. 1, the electronic device (201) of FIG. 2), at least one processor of the electronic device (e.g., the processor (120) of FIG. 1), or a BIOS of the electronic device (e.g., the BIOS (310) of FIGS. 3 and 4). In an embodiment, at least one of operations 705 to 760 may be omitted, the order of some operations may be changed, or another operation may be added.

[0106] To help understand the description of Fig. 7, reference will be made to Fig. 8. Fig. 8 is a graph showing the relationship between battery capacity and voltage according to one embodiment.

[0107] When booting by the operating system begins, the electronic device (201) can check whether the power source is an adapter in operation 705. If the power source is an adapter, the electronic device (201) can perform an operation according to the adapter mode in operation 715. Here, operation 715 corresponds to operation 625 of FIG. 6, and thus a detailed description thereof will be omitted.

[0108] In operation 705, if the power source is not an adapter, i.e., if power supply from the adapter is not possible, the electronic device (201) can operate using power supplied from the battery. Accordingly, if the power mode corresponds to the battery mode, the electronic device (201) can check whether the battery capacity is greater than a threshold value in operation 710.

[0109] In one embodiment, in order to operate in adapter mode only during booting, even though power can be supplied from the battery, a battery capacity above a threshold may be assumed. Referring to FIG. 8, the output voltage of the battery varies depending on the battery capacity, and in particular, a phenomenon in which the output voltage drops sharply may occur around a low battery capacity (e.g., 10%). However, if a capacity higher than the low battery capacity is required during booting, the power may be turned off or abnormal operation may occur during booting. Therefore, in one embodiment, a threshold for the battery capacity may be set to a value higher than the low battery capacity to prevent the power from being turned off or abnormal operation from occurring during booting. For example, FIG. 8 exemplifies 30% as an example of the threshold, but the value may not be limited thereto.

[0110] If the battery capacity is not greater than the threshold, the electronic device (201) can perform an operation according to the battery mode in operation 720. For example, if the battery capacity is less than the threshold, the BIOS (310) reports the battery mode to the operating system (360), and the operating system (360) can load a profile in the battery mode and, based on the profile corresponding to the loaded adapter mode, load the kernel for booting, the low-level driver, the kernel driver, and the user mode driver in that order to proceed with initialization. Here, the profile according to the battery mode loaded by the operating system (360) may be different from the profile according to the adapter mode.

[0111] Here, the profile may include setting information for controlling the power and operating speed, such as frequency and latency, of the processor (120) (e.g., CPU) depending on the power mode (e.g., adapter mode or battery mode) through the operating system (360).

[0112] For example, a profile according to the adapter mode may include configuration information that increases the power output and maximum frequency of the processor (120) (e.g., CPU) and minimizes latency. Furthermore, a profile according to the adapter mode may include configuration information that prioritizes workload allocation to high-performance cores in the case of multi-cores. By doing so, booting can be performed based on the profile according to the adapter mode, thereby increasing the boot speed and reducing the time required for booting.

[0113] On the other hand, a profile based on battery mode may include configuration information for limiting the power and frequency of a processor (120) (e.g., CPU) and increasing latency. Furthermore, a profile based on battery mode may include configuration information for prioritizing workload allocation to cores with lower power consumption over higher performance in the case of multi-core systems.

[0114] For example, if a security program (or application) or a program (or application) with a high load is installed by the user, the boot time in battery mode may increase compared to adapter mode because the boot time of the electronic device (201) may increase due to the process loaded at boot time due to the installed program.

[0115] Meanwhile, if the battery capacity is above a threshold, in operation 725, the electronic device (201) can control the system power. For example, the BIOS (310) can directly or through the microcomputer (320) limit the output power set for the hardware (350). For example, power control can be performed by limiting the output of the actual usable power in the hardware (350).

[0116] When the control of the system power is completed as described above, in operation 730, the electronic device (201) can respond to the operating system (360) that it is in adapter mode. For example, the BIOS (360) may know that it is powered by a battery, but may inform the operating system (360) that it is in adapter mode, not battery mode. Accordingly, the operating system (360) can load a profile according to the adapter mode and perform booting based on the loaded profile.

[0117] Additionally, in operation 735, the electronic device (201) may hide information about the adapter and the battery. Here, hiding information about the adapter and the battery may mean that the information is not accessed or modified by the operating system (360). For example, the BIOS (310) may report that the adapter or the battery is not connected (or absent) using a method (e.g., STA method) according to a specification (e.g., ACPI (advanced configuration and power interface) specification) in which the operation of the operating system (360) is defined, so that the operating system (360) does not check (or enumerate) the adapter or the battery. Here, ACPI has a function for managing the power of the electronic device (201) (e.g., computer system).

[0118] For example, by hiding information about the adapter and battery, even if the adapter is not actually connected during booting and is operating in battery mode but in adapter mode, the electronic device (201) may not display an indicator (or icon) indicating that it is operating in adapter mode on the display. In this way, even if the battery mode is operating in adapter mode during booting, the electronic device (201) may not display an indicator (or icon) showing this so that the user cannot recognize the current situation. According to one embodiment, by not displaying the indicator during booting, the operating system (360) may operate in adapter mode.

[0119] Next, in operation 740, the electronic device (201) can check whether a specific function of the driver has been called. If a specific function of the driver has been called, the electronic device (201) can detect (or recognize) that booting is about to be completed or has been completed, and can re-check whether the actual power source is the adapter or the battery. In this way, the electronic device (201) can check whether the booting is complete by checking whether the last process among the multiple processes according to the booting is executed.

[0120] When it is confirmed that booting is complete, the electronic device (201) can check the power mode, control the system power again to correspond to the confirmed power mode, and then reply with the actual power mode to the operating system (360). At this time, since the user can change the power source between the adapter and the battery in real time, if the confirmed power mode actually corresponds to the adapter mode when the power mode is checked after confirming that booting is complete, the system power can be controlled to correspond to the adapter mode. Subsequently, the electronic device (201) can transmit a command to the operating system (360) to operate in the adapter mode.

[0121] For example, in operation 730, the electronic device (201) has already responded to the operating system (360) that it is in battery mode but adapter mode, so when it confirms that booting is complete by calling a specific function of the driver in operation 740, the electronic device (201) can change to battery mode in operation 750. Accordingly, the electronic device (201) can control the system power to correspond to the battery mode and then respond to the operating system (360) that the current power mode is battery mode so as to change the adapter mode to the battery mode.

[0122] Next, in operation 755, the information about the adapter and the battery can be unhidden. Here, unhiding the information about the adapter and the battery can mean allowing them to be accessed or modified by the operating system (360). For example, the BIOS (310) can report that the adapter or the battery is connected using a method (e.g., STA method) according to a specification (e.g., ACPI (advanced configuration and power interface) specification) in which the operation of the operating system (360) is defined, so that the operating system (360) can check (or enumerate) the adapter or the battery. Here, ACPI has a function for managing the power of an electronic device (201) (e.g., a computer system).

[0123] As described above, when the execution of the last process of booting is confirmed, the BIOS (310) can send a command to the operating system (360) to operate in the reconfirmed power mode, and by responding with the power mode, the OS booting process can be terminated. As the OS booting is completed, the electronic device (201) can operate in a standby state awaiting user input.

[0124] Meanwhile, if a specific function of the driver is not called in operation 740, the electronic device (201) can identify whether a specified time has elapsed during booting in operation 760. For example, even if a specific function of the driver corresponding to the last process is not called, the BIOS (310) can operate to recheck the power mode using the specified time. If the specified time has not elapsed, the electronic device (201) can determine whether a specific function of the driver is called in operation 740. For example, the specified time is a time for generating an event including an interrupt, and when the specified time has elapsed, the BIOS (360) can recheck the power according to the occurrence of the interrupt in operation 750 and perform an operation to change to the rechecked power mode (e.g., battery mode).

[0125] Figure 9 is a flow chart of signal transmission and reception between a BIOS, an operating system, and a microcomputer according to one embodiment.

[0126] Referring to FIG. 9, in operation 905, the BIOS (310) may request the microcomputer (320) to check power when a boot event occurs in operation 910. For example, the BIOS (310) may check power through the microcomputer (320) as booting begins when the power is turned on, and in operation 915, the BIOS may check the power mode based on the power detection information provided through the microcomputer (320). For example, the microcomputer (320) may store (or record, change) information such as the status of the adapter (e.g., the status of the AC power), the status of the battery, or the battery capacity in real time in a memory area (e.g., EC RAM) accessible by the BIOS (310). Accordingly, the BIOS (310) may obtain power detection information by reading the information from the memory area.

[0127] The BIOS (310) can identify whether the battery mode corresponds to a battery capacity exceeding a threshold value in operation 920. In one embodiment, this is to enable booting in adapter mode rather than battery mode even if the power source is a battery, so a case in which the power source mode is detected as battery mode will be described as an example.

[0128] Accordingly, in the case of a battery mode corresponding to a battery capacity greater than a threshold, in operation 925, the BIOS (310) can reply to the operating system (360) that it is an adapter mode, not a battery mode. Accordingly, the operating system (360) can operate in the adapter mode as in operation 930 based on a profile corresponding to the adapter mode. For example, the operating system (360) can perform initialization by loading the kernel for booting, the low level driver, the kernel driver, and the user mode driver in that order based on the loaded profile. As described above, the operating system (360) can operate in the adapter mode during booting according to a command to operate in the adapter mode from the BIOS (310).

[0129] Meanwhile, as one of the methods for determining whether booting is completed during booting, FIG. 9 illustrates a method for determining whether a specific function of a driver is called in operations 935 and 940 and a method for determining whether a specified time elapses during booting, but the method is not limited thereto. For example, it may be determined based on whether the last process among a plurality of processes performed during booting is performed or whether a sub-function of a specified driver is called, and the method may be added or modified according to the method of the operating system (360). Since operations 935 and 940 correspond to operations 740 and 760 of FIG. 7, a detailed description thereof will be omitted.

[0130] In response to identifying that booting is complete in operations 935 and 940, the BIOS (310) may request re-verification of power in operation 945, and based on the power detection information acquired through the microcomputer (320) in operation 950, may reply to the operating system (360) that the actual power source is battery mode in operation 955. Accordingly, the operating system (360) may perform operations based on a profile corresponding to battery mode in operation 960.

[0131] As described above, the operating system (360) can operate in battery mode during booting according to a command from the BIOS (310) to operate in battery mode.

[0132] In one embodiment, in an electronic device that operates by being powered by an adapter or a battery, regardless of the power mode (e.g., battery mode, adapter mode), the operating system (360) can perform booting based on a profile according to the adapter mode, as in the adapter mode, even in battery mode, thereby increasing the booting speed perceived by the user.

[0133] Electronic devices according to the various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to the embodiments of this document are not limited to the aforementioned devices.

[0134] The various embodiments of this document and the terminology used therein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase among those phrases, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.

[0135] The term "module" used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).

[0136] Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more instructions stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one instruction among the one or more instructions stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one called instruction. The one or more instructions may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.

[0137] According to one embodiment, the method according to various embodiments disclosed in this document may be provided as a computer program product. The computer program product may be traded between sellers and buyers as a product. The computer program product may be distributed in the form of a device-readable storage medium (e.g., compact disc read-only memory (CD-ROM)) or may be provided through an application store (e.g., Play Store). TM ) or directly between two user devices (e.g., smart phones), online distribution (e.g., downloading or uploading). In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.

[0138] According to one embodiment, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.

[0139] According to one embodiment, a storage medium storing at least one computer-readable instruction, wherein the at least one instruction, when executed by at least one processor of an electronic device, is configured to cause the electronic device to drive a basic input / output system (BIOS) and an operating system (OS), and to cause the BIOS to perform at least one operation, wherein the at least one operation may include an operation of identifying, through the BIOS, whether a power mode is a battery mode in which power is supplied from a battery of the electronic device or an adapter mode in which power is supplied from an adapter, based on power detection information provided through a microcomputer at the start of booting.

[0140] According to one embodiment, the at least one operation may include an operation of identifying a remaining capacity of the battery when the power mode is the battery mode.

[0141] In one embodiment, the at least one operation may include transmitting a command to the operating system to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than or equal to a threshold.

Claims

1. In the electronic device (101, 201), Battery (330); Microcomputer (320); At least one processor (120); and It includes a memory (130) that stores instructions, The above instructions, when executed by the at least one processor, are configured to cause the electronic device to drive a basic input / output system (BIOS) (310) and an operating system (OS) (360), wherein the BIOS: Based on the power detection information provided through the microcomputer at the start of booting, it is identified whether the power mode is a battery mode that supplies power from the battery or an adapter mode that supplies power from the adapter. If the power mode is the battery mode, identify the remaining capacity of the battery, An electronic device configured to transmit a command to the operating system to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than a threshold.

2. In the first paragraph, the BIOS, Identify whether the above boot is complete, An electronic device configured to transmit a command to the operating system to change the adapter mode to the battery mode in response to identifying that the booting is complete.

3. In the first or second paragraph, the BIOS, Identify whether the last process among the processes according to the above boot is being performed, Based on identifying that the above last process is performed, power detection information is obtained from the microcomputer, An electronic device configured to transmit a command to the operating system to operate in the battery mode, based on the acquired power detection information, when the power mode is the battery mode.

4. In any one of the first to third paragraphs, the bios, Identify whether a specified amount of time has elapsed during the above boot, Based on identifying that the above specified time has elapsed, power detection information is obtained from the microcomputer, An electronic device configured to transmit a command to the operating system to operate in the battery mode, based on the acquired power detection information, when the power mode is the battery mode.

5. In any one of the first to fourth paragraphs, the bios, An electronic device configured to limit the power of the hardware (350) to correspond to the battery mode based on identifying that the remaining capacity of the battery is greater than a threshold value, and then transmit a command to the operating system to operate in the adapter mode.

6. In any one of the first to fifth paragraphs, the bios, In response to sending a command to the operating system to operate in the above adapter mode, information about the adapter and the battery is hidden, An electronic device configured to release the information about the adapter and the battery from being hidden in response to a command being sent to the operating system to operate in the battery mode.

7. In any one of the first to sixth paragraphs, the bios, An electronic device, which acquires power detection information from the microcomputer and, based on the acquired power detection information, is set to limit the power of the hardware to correspond to the battery mode when the power mode is the battery mode.

8. In any one of paragraphs 1 to 7, the bios, Identifies whether a subfunction of a specified driver is being called, An electronic device configured to identify whether the last process according to the boot is performed by identifying whether the sub-function of the above-mentioned driver is called.

9. In any one of paragraphs 1 to 8, the bios, An electronic device configured to transmit a command to the operating system to operate in the battery mode based on identifying that the remaining capacity of the battery is below the threshold.

10. A method for controlling booting speed in an electronic device (101, 201), An operation of identifying, through the BIOS (310), whether the power mode is a battery mode in which power is supplied from the battery (330) of the electronic device or an adapter mode in which power is supplied from the adapter (340), based on power detection information provided through the microcomputer (320) at the start of booting; When the power mode is the battery mode, an operation for identifying the remaining capacity of the battery; and A method for controlling boot speed, comprising an operation of transmitting a command to an operating system (OS) (360) to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than a threshold value.

11. In paragraph 10, An action to identify whether the above booting is complete; and A method for controlling boot speed, further comprising the action of transmitting a command to the operating system to change the adapter mode to the battery mode in response to identifying that the booting is complete.

12. In paragraph 10 or 11, An action to identify whether the last process among the processes according to the above boot is being performed; An operation of obtaining power detection information from the microcomputer based on identifying that the last process is performed; and A method for controlling a boot speed, further comprising an operation of transmitting a command to the operating system to operate in the battery mode based on the acquired power detection information, when the power mode is the battery mode.

13. In any one of paragraphs 10 to 12, An action to identify whether a specified amount of time has elapsed during the above boot; An operation of acquiring power detection information from the microcomputer based on identifying that the above-mentioned specified time has elapsed; and A method for controlling a boot speed, further comprising an operation of transmitting a command to the operating system to operate in the battery mode based on the acquired power detection information, when the power mode is the battery mode.

14. In any one of paragraphs 10 to 13, A method for controlling boot speed, further comprising an operation of limiting power of hardware to correspond to the battery mode based on identifying that the remaining capacity of the battery is greater than a threshold.

15. In a storage medium storing at least one computer-readable instruction, the at least one instruction, when executed by at least one processor (120) of an electronic device (101, 201), is configured to cause the electronic device to drive a basic input / output system (BIOS) (310) and an operating system (OS) (360), and to cause the BIOS to perform at least one operation, wherein the at least one operation is: An operation of identifying, through the BIOS, whether the power mode is a battery mode in which power is supplied from the battery (330) of the electronic device or an adapter mode in which power is supplied from the adapter (340), based on power detection information provided through the microcomputer (320) at the start of booting; When the power mode is the battery mode, an operation for identifying the remaining capacity of the battery; and A storage medium comprising an operation of transmitting a command to the operating system (360) to operate in the adapter mode based on identifying that the remaining capacity of the battery is greater than a threshold value.

Citation Information

Patent Citations

  • Electronic computer

    JP1997138716A

  • Information processor and method for controlling electric power consumption

    JP2007233503A

  • Compuer and control method thereof

    KR1020040103991A

  • Method for recognition outer source of mobilecommunication terminal

    KR1020060022184A

  • Apparatus and method for controlling power supply in a multi-core processor

    KR1020090086866A