Patent attributes
Disclosed are an electronic device and a method of controlling a volume of an electronic device. A method of controlling volume of an electronic device includes receiving a first input signal of a user for requesting to display a volume control user interface (UI), selectively displaying a first volume control UI or a second volume control UI corresponding to whether a content is being played, based on the first input signal, receiving a second input signal of the user through the first or second volume control UI, and controlling a volume level for the content and a volume level for a function of the electronic device together while interconnecting the volume level for the content and the volume level for the function of the electronic device based on the second input signal through the first volume control UI when the content is being played, and controlling one of the volume level for the content and the volume level for the function of the electronic device independently of a remaining volume level based on the second input signal through the second volume control UI when the content is not being played.