Method for providing service based on awareness and an electronic device thereof
摘要:
Various example embodiments of the disclosure relate to an apparatus and method for providing a service based on context information in an electronic device. In this case, a portable electronic apparatus may include a communication module, an air pressure sensor configured to measure air pressure, a processor electrically coupled to the communication module and the air pressure sensor, and a memory electrically coupled to the processor. The memory may store instructions, when executed, for configuring the processor to determine whether the electronic device is located in a first geofence using the communication module, start monitoring of the air pressure by using the air pressure sensor at least in part on the determining that the electronic device is located in the first geofence, deactivate at least one part of the communication module when the monitored air pressure satisfies one or more of a first range and a first change rate, and re-activate the deactivated at least one part of the communication module when the monitored air pressure satisfies one or more of a second range and a second change rate after the at least one part of the communication module is deactivated. Other example embodiments may also be possible.
信息查询
0/0