Abstract:
Provided is a method for controlling charging in a mobile terminal. The method includes, applying a voltage to a charger upon detecting a connection to the charger via a cable; transmitting a signal for requesting charging to the charger, and switching a charging mode; and charging a power that is received from the charger according to the switched charging mode.
Abstract:
Provided is a method and apparatus for identifying a type of an external device connected to an interface connector in an electronic device. The electronic device may measure a voltage of power that is input to a power supply terminal of the interface connector that includes the power supply terminal and is configured to connect with an external device. The electronic device may identify a type of the external device connected to the interface connector based on the voltage of the input power. In addition, other embodiments are also possible.