Activity Monitor API

The Lumia Activity Monitor API is deprecated. You should use the corresponding Windows platform API instead:

Windows.Devices.Sensors.Activitysensor

Activity Monitor provides information about changes in a user's physical activity; for example, when the user starts or stops walking. In order to filter out noise, there is always a small delay associated with activity detection. A typical delay is about 5-10 seconds. Activity information is most accurate when the device follows the user's movement closely, such as when the device is in the user's pocket. There are some challenging cases for Activity Monitor, such as when the user is in a vehicle that is generating strong vibrations.

Activities are classified as follows:

  • Unknown - If the phone is switched off.
  • Idle - The phone is laying still, for example, on a table.
  • Stationary - The phone is being handled / is in active use but the user is not moving around, or there is only some minor movement while the phone is, for example, in the user's pocket.
  • Walking - The user is walking with the phone.
  • Running - The user is running with the phone.
  • Moving - The user is moving, but Activity Monitor cannot identify the exact type of motion.
  • MovingInVehicle - The user is inside a moving vehicle.
  • Biking - The user is riding a bicycle.

Activity Monitor provides real time information, foreground activity
change notifications, and a ten-day history of activity changes.

Activity Monitor and motion data settings

Activity Monitor has some differences on how it works with different
motion data settings. In Basic mode, the following activity types are
currently supported:

  • Unknown
  • Idle
  • Stationary
  • Moving
  • Walking
  • Running
  • MovingInVehicle (basic quality level)

In detailed mode, the following activity types are currently supported:

  • Unknown
  • Idle
  • Stationary
  • Moving
  • Walking
  • Running
  • MovingInVehicle
  • Biking

Detection quality

In basic mode, the detection quality is as follows:

Activity class

Activity recognition accuracy

Detection latency

Idle

~ 100%

~ 11 sec

Stationary

~ 90%

~ 10 sec

Walking

~ 95%

~ 6 sec

Running

~ 95%

~ 9 sec

MovingInVehicle

~ 80%

~ 40 sec

Biking

Not supported

Not supported

In detailed mode, the detection quality is as follows:

Activity class

Activity recognition accuracy

Detection latency

Idle

~ 100%

~ 11 sec

Stationary

~ 100%

~ 10 sec

Walking

~ 95%

~ 6 sec

Running

~ 95%

~ 9 sec

MovingInVehicle

~ 90%

~ 30 sec

Biking

~80%

Detection accuracy will depend on device placement.

~ 30 sec

Show: