Guides and Sample Code

Developer

Instruments User Guide

On This Page

GPS On/Off Log Instrument

Overview

Instrument Description

The GPS On/Off Log instrument captures information about whether GPS is on or off. Unnecessary or unexpected use of the GPS wastes energy.

Supported Platforms

iOS

Related Profiling Templates

Energy Log Profiling Template

Timeline Pane

The timeline pane displays a red band if GPS is active, or a black band if GPS is off.

Record Settings

This instrument doesn’t have any record settings you can configure.

Display Settings

Click the Display Settings button (image: ../Art/instruments_displaysettings_button_inline_2x.png) in the inspector pane to customize the following display settings.

Track Display Settings

These settings control how information is displayed in the timeline pane.

Setting

Description

Options

Style

How information is presented. This is a fixed setting, which can’t be changed.

  • Power State: The current power state of GPS. Displays orange if GPS is on and green if GPS is off.

Detail Pane Columns

GPS Detail Type

The following GPS columns are available in the detail pane.

Column name

Definition

Time

The time the state change occurred.

State

The new state of the GPS, either On or Off.