Skip to content

Feature: Motion Activated Device Lock

Overview

This feature allows for locking the device while the user is driving. When a device is locked, the screen will only display text explaining that the device is locked, and the user will not be able to navigate away from this screen. This is controlled with configuration settings.

Motion Activated Device Lock can be enabled or disabled using lockInMotion within Launcher "settings" configuration. The sensitivity of Motion Activated Device Lock can be adjusted using lockInMotionConfidence which is also found within the Launcher "settings" congifuration.

Flow

If lockInMotion is true, the device will be locked while the user is driving. When driving has been detected, the user will be presented with a locked device screen. This screen cannot be navigated away from until the user is not driving. The following is an example of a locked device.

Locked Device

When the user stops driving, the user will be navigated back to the homescreen and can use the device normally.

If lockInMotion is false, the device will not be locked while the user is driving.

Technical Notes

Configuration:

lockInMotion: Indicates that the device should be locked while the user is driving. False indicates that the device should not be locked while the user is driving.

lockInMotionConfidence: Indicates the needed level of confidence that the user is driving in order to lock the device. For instance, if this is set to 50, the device will be locked when we are at least 50 percent confident that the user is driving. This value can range from 0 to 100. Note that this setting will only be utilized if lockInMotion is set to "true".

Example:

  "settings": {
    ...
    "lockInMotion" : true,
    "lockInMotionConfidence" : 50
    ...
  }

Feature Introduced

Feature Introduced in Launcher 3.5.x.