Abstract:
According to an embodiment, provided may be an electronic device comprising a vibration device, at least one processor electrically connected to the vibration device, and a memory for storing instructions, wherein the instructions, when executed by the at least one processor, cause the electronic device to: increase or decrease a vibration frequency of the vibration device for a predetermined period of time; on the basis of a signal output from the vibration device, obtain a resonant frequency of the vibration device; determine a vibration frequency causing the output of the vibration device at a temperature higher than room temperature to be less than the output at room temperature, as a driving frequency of the vibration device; and control the vibration device to be driven at the determined driving frequency. Various other embodiments are possible.
Abstract:
An electronic device is provided. The electronic device includes a battery that supplies power to the electronic device, a power management integrated circuit (PMIC) which controls power required in the electronic device, a software battery charging management circuit that performs a charging management function of the battery, a software power saving management circuit that manages standby power of a plurality of circuits in the electronic device, memory storing one or more computer programs, and one or more processors communicatively coupled to the battery, the PMIC, the software battery charging management circuit, and software power saving management circuit, wherein the one or more computer programs include computer-executable instructions that, when executed by the one or more processors, cause the electronic device to, in response to identifying that a charger is connected to the electronic device, boot a system of the electronic device, control at least one circuit in the electronic device to operate in a sleep state for power saving by using the software power saving management circuit, charge the battery while the system of the electronic device is in an off state, in response to identifying that a charging state of the battery is not a fully charged state, charge the battery with a first voltage and/or a first current, in response to identifying that the charging state of the battery is the fully charged state, block power supply to the battery, and control power to be supplied circuit with a second voltage set lower than the first voltage and/or a second current set lower than the first current to at least one circuit in the electronic device, wherein the software battery charging management circuit and/or software power saving management circuit are/is implemented on the one or more processors.
Abstract:
Embodiments of an electronic device are disclosed. The electronic device may include a USB Type-C connector including at least one configuration channel (CC) pin and a processor operatively connected to the USB Type-C connector. The processor may be configured to: obtain first information of a connected audio output device by using a USB driver; transmit the first information and/or audio card information of the audio output device to an audio framework through a USB framework; control the audio framework to access an interface corresponding to the audio card information; and activate, when at least a portion of second information of the audio output device is obtained through the USB driver while accessing the interface, the interface by transmitting the at least a portion of the second information to the audio framework through the USB framework. Various additional embodiments in addition to the disclosed embodiments are possible.
Abstract:
According to an embodiment, an electronic device comprises: a connecting terminal; a memory; and a processor connected to the connecting terminal and the memory, wherein the processor is configured to: identify a head unit of a vehicle connected to the connecting terminal; obtain information about a model of a vehicle or an installed operating system, associated with the identified head unit; and when the information about a specified tuning value for the identified head unit is stored in the memory, tune a register by using the specified tuning value.
Abstract:
An electronic device having an external memory according to various embodiments of the present disclosure may include a communication unit; an internal memory configured to store a first electronic device information of the electronic device and a first booting data in a first booting area, said first booting data is loaded when an electric power is supplied to the electronic device; an external memory configured to store a second electronic device information of the electronic device, firmware corresponding to the electronic device in a firmware storage area, and updated firmware received via the communication unit in a firmware update information storage area; and a controller configured to compare the second electronic device information stored in the external memory and the first electronic device information stored in the internal memory and configured to control to change the firmware in the firmware storage area based on the updated firmware stored in the firmware update information storage area during booting of the electronic device when the first and second electronic device information are not identical.
Abstract:
According to various embodiments, there may be provided an electronic device comprising a vibration device, a vibration device integrated circuit (IC) connected to the vibration device, a first bus, a second bus, and at least one processor electrically connected to the vibration device IC through each of the first bus and the second bus; wherein the at least one processor is configured to transfer first data to the vibration device IC through the first bus, transfer second data to the vibration device IC through the second bus different from the first bus, and control the vibration device IC to drive the vibration device based on data selected from the first data and the second data. Other various embodiments are possible as well.
Abstract:
Disclosed are an electronic device for wireless communication and a method thereof. The electronic device may include an interface module and a processor. The processor may be configured to establish a first Ethernet tethering connection with an external electronic device by using an Ethernet driver, provide an Internet service to the external electronic device using a first IP address allocated to the external electronic device, deactivate the Ethernet driver in response to identifying that the IP address of the electronic device is changed and the first Ethernet tethering connection is in the bridge mode, reactivate the deactivated Ethernet driver, establish a second Ethernet tethering connection with the external electronic device by using the reactivated Ethernet driver, and provide the Internet service to the external electronic device using a second IP address allocated to the external electronic device.
Abstract:
According to an embodiment, an electronic device may include: a power management module; a USB connection terminal; a processor operably connected to the power management module and the USB connection terminal; and a memory operably connected to the processor. The memory may store instructions that, when executed, cause the processor to: provide, in response to connection with an external electronic device through the USB connection terminal, fast charging related information to the external electronic device; obtain power based on the fast charging related information from the external electronic device; perform a fast charging operation through the power management module based on the obtained power; determine to enter a first mode for data communication with the external electronic device; and determine whether fast charging is possible in the external electronic device based on the obtained power and an entry into the first mode by the electronic device and the external electronic device.
Abstract:
An electronic device includes a universal serial bus (USB) port configured to be wiredly attached to an external audio device, a processor operatively connected to the USB port, and a memory operatively connected to the processor. The memory stores a media application to play audio data, and stores instructions that when executed, cause the processor to play the audio data through the media application, sense an event associated with detachment from the external audio device while the audio data is being played, pause playing the audio data, in response to that the event is sensed, identify whether a device the same as the external audio device is attached within a specified time after the event is sensed, and play the audio data, which is paused, through the media application, when the device the same as the external audio device is attached within the specified time.
Abstract:
In an electronic device and a method for operating the electronic device according to various embodiments, the electronic device may comprise a housing, a USB Type-C connector configured to be connected to the housing or exposed through the housing and to include at least one configuration channel (CC) pin, a circuit configured to be disposed in the housing and connected electrically to the connector, and a processor configured to be disposed in the housing and connected electrically to the circuit. The circuit may be configured to transmit and receive a packet through the CC pin. The packet may sequentially comprise a message header, a first vendor defined message (VDM) header, and a second VDM header including a product identifier and a data type. Further, various other embodiments can be implemented according to the present disclosure.