Lost Mode  |  Android Management API  |  Google for Developers (2024)

Lost mode is a feature available on company-owned devices, allowing employers toremotely lock and secure a lost device and optionally to display a message onthe device screen with contact information for the employee or IT department.This helps protect organization and employee data while attempting to recoverthe device, and may improve the likelihood of recovery.

Note: Lost mode is helpful when there is the chance the device may berecovered, because when recovered the device can be used for work immediately,with no loss of data and no need to re-provision the device. While we recommendthat you first use lost mode to try to recover the device, if after activatinglost mode for at least 24 hours you still haven't recovered the device, werecommend remotely wiping the device to provide the strongest protections forwork data.

Prerequisites

A device must be company-owned; work profile issupported on Android 13 and above, and fully managed devices on Android 11 andabove.

Start Lost Mode

To put a device into lost mode, issue a command to a device with the commandtypeSTART_LOST_MODE.At least one of the following details must be provided with the command:

  • Lost message
  • Phone number
  • Email address
  • Street address

Optionally, the IT admin can choose to provide the following:

  • Organization name

Example:

command_body = '''{ "type": "START_LOST_MODE", "startLostModeParams": { "lostOrganization": { "defaultMessage": "Example Organisation", "localizedMessages":{ "en-US": "Example Organisation" } }, "lostStreetAddress": { "defaultMessage": "1800 Amphibious Blvd. Mountain View, CA 94045", "localizedMessages":{ "en-US": "1800 Amphibious Blvd. Mountain View, CA 94045" } } }}'''androidmanagement.enterprises().devices().issueCommand( name='enterprises/{}/devices/{}'.format(enterprise_id, device_id), body=json.loads(command_body)).execute()

Once successfully placed into lost mode, the device is locked, all apps areblocked, and the device's DeviceState is changed toLOST.

A device cannot be placed into lost mode if:

  • The device is not an organization-owned device
  • The device is already in lost mode
  • The device password has been reset by an IT admin in the last 12 hours
  • The employee manually exited lost mode in the last 12 hours
  • It is a work profile on a company-owned deviceand the work profile is paused

Note: Lost mode is supported in direct boot mode.

Alert State

This is the first state a device enters when put into lost mode. In this state,the device rings for up to 5 minutes, giving the user an opportunity to findtheir device and take the device out of lost mode. The location of the device isnot reported during this time.

Lost Mode | Android Management API | Google for Developers (1)

If the device is accessed in the alert state, two options are presented:

  • This is my device - allows the employee to enter their password and takethe device out of lost mode. If this occurs before the 5 minute period ends,no location data is sent from the device to the admin.
  • I found this device - enables someone other than the employee to stopthe device ringing. This moves the device into the lost state.

Note: The device location is only shared with the admin after the 5 minuteshas elapsed.

Lost State

In this state the device stops ringing and sends location updates every minute.Location updates are sent as usagelogs,to which an EMM can subscribe using pub/subnotifications.

Lost Mode | Android Management API | Google for Developers (2)

If the device is accessed in the lost state, up to three options are shown:

  • Unlock - allows the employee to enter their passcode and take the deviceout of lost mode.
  • Call owner - starts a phone call to the number provided in the startlost mode parameters. This option is hidden if no phone number is provided.
  • Emergency - allows access to the emergency dialer.

Stop Lost Mode

To take a device out of lost mode, issue a command to a device with the commandtypeSTOP_LOST_MODE.Unlike the start lost mode command, no additional information needs to beprovided. The device can also be taken out of lost mode manually by providingthe device password.

Example:

command_body = '''{ "type": "STOP_LOST_MODE", "stopLostModeParams": {}}'''

androidmanagement.enterprises().devices().issueCommand( name='enterprises/{}/devices/{}'.format(enterprise_id, device_id), body=json.loads(command_body)).execute()

When the device is successfully taken out of lost mode, all apps on the deviceare unblocked and the employee can use the device as normal. The device'sapplied state resets to the state the device was in before lost mode.

Pub/sub notifications

To receive lost mode messages, like confirmation of a device entering or exitinglost mode, you must enable and subscribe an enterprise to the COMMAND andUSAGE_LOGS notification types.

The COMMAND pub/sub provides information on the following events:

  • StartLostModeStatus -indicates that the admin has successfully put the device into lost mode.
  • StopLostModeStatus -indicates that the admin has successfully taken the device out of lost mode.

The USAGE_LOGS pub/sub provides information on the following events:

  • LostModeLocationEvent -there is a location and battery update.
  • StopLostModeUserAttemptEvent -if someone tries to take a device out of lost mode, either successfully or unsuccessfully.
  • LostModeOutgoingPhoneCallEvent -if someone makes an outgoing phone call.

Note: Actions executed by the admin trigger notifications in the COMMANDpub/sub. Actions executed by the employee trigger notifications in theUSAGE_LOGS pub/sub.

Lost Mode  |  Android Management API  |  Google for Developers (2024)
Top Articles
Public vs. Private Blockchain
Bank Windhoek
English Bulldog Puppies For Sale Under 1000 In Florida
Katie Pavlich Bikini Photos
Gamevault Agent
Pieology Nutrition Calculator Mobile
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Compare the Samsung Galaxy S24 - 256GB - Cobalt Violet vs Apple iPhone 16 Pro - 128GB - Desert Titanium | AT&T
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Craigslist Dog Kennels For Sale
Things To Do In Atlanta Tomorrow Night
Non Sequitur
Crossword Nexus Solver
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Energy Healing Conference Utah
Geometry Review Quiz 5 Answer Key
Hobby Stores Near Me Now
Icivics The Electoral Process Answer Key
Allybearloves
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Marquette Gas Prices
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Vera Bradley Factory Outlet Sunbury Products
Pixel Combat Unblocked
Movies - EPIC Theatres
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Mia Malkova Bio, Net Worth, Age & More - Magzica
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Where Can I Cash A Huntington National Bank Check
Topos De Bolos Engraçados
Sand Castle Parents Guide
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hello – Cornerstone Chapel
Stoughton Commuter Rail Schedule
Nfsd Web Portal
Selly Medaline
Latest Posts
Article information

Author: Foster Heidenreich CPA

Last Updated:

Views: 5568

Rating: 4.6 / 5 (56 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Foster Heidenreich CPA

Birthday: 1995-01-14

Address: 55021 Usha Garden, North Larisa, DE 19209

Phone: +6812240846623

Job: Corporate Healthcare Strategist

Hobby: Singing, Listening to music, Rafting, LARPing, Gardening, Quilting, Rappelling

Introduction: My name is Foster Heidenreich CPA, I am a delightful, quaint, glorious, quaint, faithful, enchanting, fine person who loves writing and wants to share my knowledge and understanding with you.