Device Testing

Part two of our performance analysis was based on testing LotaData's Rocket Demo app directly on a real Android phone device. The Rocket Demo app is the reference app that includes the LotaData SDK. The app can be downloaded from Google Play store at this link

Test Harness

Our test hardness for step two consisted of:

  1. Motorola Moto G5S Plus smartphone with Android 8.1.0
  2. LotaData Rocket Demo app from Google Play

Memory Usage

The Rocket Demo app has an average memory usage of 16 MB when GPS is highly busy and maximum memory usage of 65 MB . The app size is 11.76 MB with a total storage size of 14.85 MB which includes user data and cache.

To arrive at this number, we measured the Rocket Demo app's memory usage on the phone using the default tools available in Android Marshmallow OS > Settings > Apps > LotaData Demo App > Memory & Storage.

Power Usage

LotaData SDK's typical battery impact can be negligible or less than 1% for normal app usage with normal GPS activity over a period of a few minutes. The SDK's battery impact can be as high as 11% for hyperactive GPS and continuous movement over an extended period of 1 hour.

To arrive at this number, we measured the Rocket Demo app's power usage on the phone. The battery usage was monitored using the default tools available in Android Marshmallow OS > Settings > Apps > LotaData Demo App > Battery.

First Measurement:

We launched the app and kept it running for a while. At this point, our SDK (actually, MomentsService) had been running in the foreground for 15 minutes and GPS location was being updated as it would if a person was walking at 5km/h. We found the app's battery usage to be 2%. At this point, 150 signals from the SDK were sent to the Server, this means that the GPS was really active and being frequently requested.

Second Measurement:

We then performed the extended drain test and checked again. At this point, our SDK (actually, MomentsService) had been running in the foreground for 1 hour and GPS location was being updated as it would if a person was walking at 5km/h. We found the app's battery usage to be 11%. At this point, 902 signals from the SDK were sent to the Server, this means that the GPS was really active and being frequently requested.

Data Usage

LotaData SDK's typical data usage is about 2.25 MB over a period of 1 hour.

To arrive at this number, we measured the host app's data usage on the test device. The data usage was monitored using the default tools available in Android Marshmallow OS > Settings > Apps > LotaData Demo App > Data Usage.

First Measurement:

We launched the app and kept it running in the foreground for a while. At this point, our SDK (actually, MomentsService) had been running for 15 minutes and GPS location was being updated as it would if a person was walking at 5km/h. We found the app's data usage to be 436 kB. At this point, 150 signals from the SDK were sent to the Server, this means that the GPS was really active and being frequently requested.

Second Measurement:

We then performed the extended data usage test and checked again. At this point, our SDK (actually, MomentsService) had been running in the foreground for 1 hour and GPS location was being updated as it would if a person was walking at 5km/h. We found the app's data usage to be 2.25 MB. At this point, 902 signals from the SDK were sent to the Server, this means that the GPS was really active and being frequently requested.


Questions?

We are eager to hear from you and happy to share best practices for integrating the SDK. There are many ways for you to reach us:

But first, please sign up for an account with LotaData so that we may send you the link to download our SDK.


Was this helpful? Yes, thanks! Not really

results matching ""

    No results matching ""