Collect device location information
Last updated September 25th, 2024
You can collect location data from Android and Android Management API devices on a regular basis.
Timestamps of location data are relative to the device’s internal clock. They can vary depending on local conditions, network connectivity, and the device’s current timezone.
The Location Settings policy described in this procedure takes precedence over the Collect current location device command.
To set the location collection policy for devices:
-
Create a new profile or begin editing the profile of the device.
-
Go to the Location policy of the target platform.
-
For Location Settings, set whether device users can enable or disable location services on the device, and whether their consent is required:
Value Result Allow user to configure Allows the device user to toggle location services. Allow user to configure and prompt for location accuracy Allows the device user to toggle location services, and apps will prompt the device user for consent to collect precise location data. Force on Turns on location services without prompting the device user. The user can’t change any location settings. Force off Turns off location services without prompting the device user. The user can’t change any location settings. -
Specify a Device Location Collection method:
Value Result Automatic Collect device location data without user consent. This option is available for a fully-managed device. Upon user consent Location data is collected after user consent. For fully managed devices, location data is collected after the device user provides consent. For devices with a work profile, location data is collected only if the device user turns on location services. -
Specify the Time Between Location Collection to set the frequency of data collection. Available values are 30 mins, 1 hour, 2 hours, 4 hours, 12 hours, and 24 hours.
-
Save and assign the profile to the target devices.
Is this page helpful?