Patent ID: 11940850
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 9:
10. A method for controlling an electronic device including a first housing and a second housing, a hinge configured to rotatably connect the first housing and the second housing, a display configured to be exposed through a first portion of the first housing and a second portion of the second housing, a location sensor, and at least one sensor other than the location sensor, the method comprising:
identifying a through the location sensor;
identifying a folded state of the electronic device through the at least one sensor; and
performing, based on the being within a first area and the folded state of the electronic device being a first state, a first prestored function corresponding to first area and the first state, and
perform, based on a determination that the is within the first area and the folded state of the electronic device being a second state, a second prestored function corresponding to the first area and the second state.