The invention relates to a portable electronic device and computer
software product. The portable electronic device comprises a motion
detector for generating motion data characterizing the local movement of
the portable electronic device, a motion intensity determiner for
determining a instantaneous motion intensity value of the user of the
portable electronic device from the motion data, and an active time
counter for determining an active time accumulation that sums up the time
periods, during which the instantaneous motion intensity value meets
predefined activity criteria.