| CPC G06F 3/165 (2013.01) [H04M 1/0235 (2013.01); H04M 1/0268 (2013.01); H04M 2201/38 (2013.01)] | 18 Claims |

|
1. An electronic device comprising:
a housing including a first housing part and a second housing part, wherein the second housing part is configured to movably engage with the first housing part between a retracted position and an extended position,
a flexible display coupled to the second housing part such that a size of an area of the flexible display that is visible from a front side of the housing changes as the second housing part is moved between the retracted position and the extended position,
a speaker,
at least one processor comprising processing circuitry, and
memory storing executable instructions,
wherein the instructions, when executed by the at least one processor, cause the electronic device to:
based on the second housing part being at the retracted position, set a first volume range within which a volume level of the speaker is adjustable;
control the speaker to output a first sound at a first volume level within the first volume range; and
based on the second housing part being moved from the retracted position to the extended position:
increase a volume range of the speaker from the first volume range to a second volume range greater than the first volume range, and
control the speaker to output the first sound at a second volume level within the second volume range.
|