PROBLEM TO BE SOLVED To prevent erroneous detection of a recumbent position.SOLUTION: The electronic device 101 determines whether or not an atmospheric pressure lowering greater than or equal to a threshold value Th 2 has occurred based on a time-series change in atmospheric pressure measured by the atmospheric pressure sensor 102. Then, the electronic device 101 changes the threshold value Th 1 to a value that is higher by the predetermined value N in the case where a pressure drop lower than the threshold value Th 2 occurs. The electronic device 101 determines whether or not an air pressure increase equal to or larger than the threshold value Th 1 has occurred based on the time series change of the atmospheric pressure measured by the atmospheric pressure sensor 102. Then, the electronic device 101 detects the supine position of the person U to be monitored when an air pressure rise equal to or higher than the threshold value Th 1 occurs.BACKGROUND OF THE INVENTION【課題】臥位の誤検出を防ぐこと。【解決手段】電子機器101は、気圧センサ102によって測定された気圧の時系列変化に基づいて、閾値Th2以上の気圧下降が発生したか否かを判断する。そして、電子機器101は、閾値Th2以上の気圧下降が発生した場合に、閾値Th1を所定値N分高い値に変更する。電子機器101は、気圧センサ102によって測定された気圧の時系列変化に基づいて、閾値Th1以上の気圧上昇が発生したか否かを判断する。そして、電子機器101は、閾値Th1以上の気圧上昇が発生した場合に、監視対象者Uの臥位を検出する。【選択図】図1