Skip to main content
Samsung Developer Program

Power Consumption Test

The Power Consumption Test module causes your app: to be launched, to undergo Monkey Test operations, and then to be taken into background mode and then into idle mode (screen off).  The Power Consumption Test module monitors and measures test device battery power usage for the duration of tested operations. Test results include whether or not power usage was measured; and if so, a graph of minimum and average battery current (amps) over the duration of tested operations (milliseconds).

NOTE:  Whether or not you request the Monkey Test, the Power Consumption Test will measure and report battery power usage during Monkey Test operations.  If you do not request the Monkey Test, a Monkey Test Results report that contains your app's responses will not be generated.

Currently, the Power Consumption Test can be run for the following test devices:

  • Samsung Galaxy S7 edge, model SM-G935T, OS v6.0
  • Samsung Galaxy Note 4, model SM-N910P, OS v6.0.1

NOTE:   Test results do not indicate whether your app meets power usage criteria. You must evaluate the test results and determine whether or not your app meets your criteria.

Test Sequence

  1. Set up power usage monitoring.
  2. Initiate the Monkey test and device mode changes.
  3. Monitor test device battery power usage during tested app activities and idle modes.

Test Results

The following results are available by clicking the Power_Consumption_Test link in the Test Results Summary page (summary.xml), or by opening the Power_Consumption_Test.xml file in the unzipped file directory. In the test results page, you can filter the displayed the results of each module test case to show all or only those results that were blocked.

  Test_Results_Power_Consumption.png

Case ID

Unique name of the module's test case.

Purpose

Monitor and log test device battery power usage during tested app activities and idle modes.

Status

Current state of testing the app via the test case:

Completed     All testing has finished.

Result

Fundamental outcome of running the test case:

Passed        App power consumption was measured.

Failed         App power consumption was not measured.

Blocked      An internet connection could not be established OR the test device could not connect to the test server.

Comment

Information about the testing.

Log/Attach

Files with test case results data and information:

Log or Attachment         Link to test log (see the following example).

Test Results Attachment

This graph shows the minimum and average current (amps) drawn from the test device battery for the duration of testing (milliseconds).

Test_Results_Power_Consumption_Attachment.png

  • Was this article helpful?