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

Claim 0:
1. An electronic device comprising:
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;
at least one sensor;
a memory; and
a processor configured to be operatively connected to the display, the location sensor, the at least one sensor, and the memory,
wherein the processor is configured to
identify a location of the electronic device through the location sensor and identify a folded state of the electronic device through the at least one sensor,
perform, based on the location of the electronic device being within a first area and the folded state of the electronic device being a first state, a first prestored function corresponding to the first area and the first state, and
perform, based on a determination that the location of the electronic device 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.