An electronic device comprising: a charging unit configured to store power; a first antenna; a second antenna; a third antenna; a first magnetic field module coupled to the first antenna and configured to perform first short range communication through the first antenna; a second magnetic field module coupled to the first antenna, the second antenna, and the third antenna, and configured to receive power wirelessly through the first antenna by using a first charging scheme, to receive power through the second antenna by using a second charging scheme, to store the power in the charging unit, and to perform second short range communication through the second antenna and the third antenna; a first connecting unit configured to control a connection between the first antenna and the first magnetic field module, based on driving of the first magnetic field module, wherein when the first magnetic field module is not driven, the first connecting unit is configured to release the connection between the first antenna and the first magnetic field module, or when the first magnetic field module is driven, the first connecting unit is configured to couple the first antenna and the first magnetic field module; and a second connecting unit configured to control a connection between the third antenna and the second magnetic field module, based on driving of the second magnetic field module, wherein when the second magnetic field module is driven to perform the second short range communication, the second connecting unit is configured to couple the third antenna and the second magnetic field module, or when the second magnetic field module is driven to receive the power by using the second charging scheme, the second connecting unit is configured to release the connection between the third antenna and the second magnetic field module. a charging unit configured to store power; a first antenna; a second antenna; a third antenna; a first magnetic field module coupled to the first antenna and configured to perform first short range communication through the first antenna; a second magnetic field module coupled to the first antenna, the second antenna, and the third antenna, and configured to receive power wirelessly through the first antenna by using a first charging scheme, to receive power through the second antenna by using a second charging scheme, to store the power in the charging unit, and to perform second short range communication through the second antenna and the third antenna; a first connecting unit configured to control a connection between the first antenna and the first magnetic field module, based on driving of the first magnetic field module, wherein when the first magnetic field module is not driven, the first connecting unit is configured to release the connection between the first antenna and the first magnetic field module, or when the first magnetic field module is driven, the first connecting unit is configured to couple the first antenna and the first magnetic field module; and a second connecting unit configured to control a connection between the third antenna and the second magnetic field module, based on driving of the second magnetic field module, wherein when the second magnetic field module is driven to perform the second short range communication, the second connecting unit is configured to couple the third antenna and the second magnetic field module, or when the second magnetic field module is driven to receive the power by using the second charging scheme, the second connecting unit is configured to release the connection between the third antenna and the second magnetic field module.