Patent ID: 7672700

Claim:
A portable terminal comprising: a first unit; a second unit; an engaging mechanism configured to engage the second unit such that the second unit is movable with respect to the first unit; a first locking mechanism configured to lock the second unit, moved by the engaging mechanism, in a first lock position falling within a movable range; a second locking mechanism configured to lock the second unit, moved by the engaging mechanism, in a second lock position differing from the first lock position; a first position detection unit configured to detect whether the second unit is locked in the first lock position by the first locking mechanism; a second position detection unit configured to detect whether the second unit is locked in the second lock position by the second locking mechanism; a time measuring unit configured to measure a time during which the first position detection unit detects that the second unit is in the first lock position; and a function control unit configured to activate one of a first function unit and a second function unit different from the first function unit when the second unit is in the second lock position after the first position detection unit detects that the second unit is in the first lock position, the first function unit being activated when the second position detection unit detects that the second unit is in the second lock position before the time measured by the time measuring unit exceeds a preset value, the second function unit being activated when the second position detection unit detects that the second unit is in the second lock position after the time measured by the time measuring unit exceeds the preset value.