Forum Nokia
Nokia Connecting People

Login Register

 

Home: Resources: User Experience: Power Management: Nokia Energy Profiler 1.1

Quick start guide

Nokia Energy Profiler is a stand-alone test and measurement application for S60 3rd Edition, Feature Pack 1 devices (and onwards). The application allows developers to test and monitor their application’s energy usage in real time in the target device.

The application is available as a SIS package for S60 3rd Edition devices, but measurement works only in S60 3rd Edition, Feature Pack 1 (or newer). Older devices can still view files.

Installation

The installation package (SIS) can be transferred to a device in a variety of ways, for example, using USB, Bluetooth, MMC, or direct download from the Internet. In this example, the application is installed using a USB cable and Nokia PC Suite. If you don’t have PC Suite installed, you can use alternative methods or download and install PC Suite from the Nokia Web site.

1. Connect the device to a PC using a USB cable.
2. Select the PC Suite mode for USB connection.
3. Double-click the SIS package in PC Suite.
4. Answer Yes to the installation confirmation in the PC.

Nokia PC Suite now transfers the SIS package automatically to the device and starts the installation procedure.

5. Answer Yes to the installation confirmations on the device screen.
6. Select Continue in the Details screen.
7. Wait for the application to install. A progress bar is shown on the screen.


Figure 1: Connect USB cable and select PC Suite mode.

Figure 2: Confirm Yes to install.

Figure 3: Installation details.

After the application has been installed, the device returns to the state where it was before the installation started. You can also see an "Installation complete" confirmation note on your PC and can detach the USB cable. You are now ready to run your first measurements with Nokia Energy Profiler.

Usage

The Nokia Energy Profiler application is placed in the installed applications folder of your device. This folder name is "Applications" or "My Own."

1. Start the application by moving to the icon and pressing the selection key.
2. Choose Options > Start to start tracing and recording the power consumption of the device. You can also use the [2] key.


Figure 4: Start banner with version information.

Figure 5: Start measurements from Options menu.

Figure 6: Measurement running in the Nokia Energy Profiler.

A blinking red dot and a power-consumption graph are drawn on the screen. Press the Up and Down keys to change the vertical scale.

Leave Nokia Energy Profiler running and perform your testing by pressing the End key, which sends it to the background. Hold the Applications key and choose Energy Pro. to switch the profiler to the foreground.

After the tests, go back to the Nokia Energy Profiler application and select Options > Stop to stop the measurements. Save the results with Options > File > Save.

Now you can simply study the results on the screen immediately or export the results in various formats for later analysis by selecting Options > File > Export.


Figure 7: Export options from Nokia Energy Profiler.

 


Figure 8: Exported .csv text files can be opened in Excel.

Shortcut keys

2 Start & Stop measurements
5 (hold) Insert marker
7 (hold) Rotate display portrait/landscape
8 Toggle instant/average bar
0 Switch between views
0 (hold) Enter/exit dual view
*,# Zoom in/out time
Up,Down Zoom in/out power
Left,Right Scroll
Joystick Center (hold) Show screenshot (if available)
Camera Take screenshot (default key)
End Send application to background


Screen icons

Below are three screenshots from a recording from a Nokia N81 device, where a photo was taken with the camera.

~3.97VAverage voltage during the measurement (Figure 9)
3.94VInstant voltage (Figures 10 and 11)
1xTime axis zoom level
8:17Estimated time in hr:min that a full battery would last with the measured average power consumption
White box / Red dotIndicates view mode / record mode
Vertical gray lineIndicates start or end of a measurement region.
Vertical red lineIndicates that a screenshot was taken and can be viewed
Green line (on top)Available storage memory in phone or memory card. Full width corresponds to 64 Mbytes.




Figure 9: Average power consumption was 0.54W during the measurement. The red vertical bar shows that a screenshot was taken and can be viewed.

Figure 10: Instant power consumption was over 1.03W when the photo was taken.

Figure 11: Switching to current-consumption view shows 0.26A.

Measurement Views

Nokia Energy Profiler supports several measurement views. Version 1.1 has the following views:

  • Processor
  • RAM Memory
  • Network
  • Signal Levels
  • Energy
  • Voltage.

The temperature view supported in version 1.0 was removed because it did not work properly.

Switching between views can only be done with the [0] key. Portrait/Landscape display rotate is toggled with the hold [7] key.

Power


Figure 12: Power view displays watts (W).

 

Power view shows the power consumption over a measurement period. The basic unit is a watt (W). The user can switch between average and instant power.

The average bar displays the mean power value for the active measurement region that is delimited by vertical gray markers. You can also add markers, but currently you cannot delete them once added. The corner indicator shows either battery time or total energy consumed in the region. Battery time is the estimated time elapsed before the battery gets empty assuming the measured average power consumption and total energy consumed in the region. Note that all indicators always refer to the current active region, not the entire measurement file possibly with multiple measurements.

Current


Figure 13: Current view shows amperes (A).

 

Current view displays current consumption which is calculated by the measured power divided by the measured voltage. As the battery discharges, voltage drops and current will increase so that power consumption stays roughly equal. Current consumption for the same use case varies depending on the battery charge. You can use Tools > Normalize current to recalculate the current measurements for a reference 3.7V voltage. The corner indicator values are the same as in Power view.

Processor


Figure 14: Processor view shows processor load (%).

 

Processor view shows the CPU load over a measurement period as a percentage of the total available processing capability. Values are between 0 and 100%, where 0% is no processing and 100% is maximum processing. Note that different mobile devices have different CPUs, such as ARM9 and ARM11. Also cache sizes and chipset performance can vary. See detailed device specifications.

RAM Memory


Figure 15: RAM Memory view displays memory usage (MB and KB).

 

RAM Memory view displays the RAM memory usage over the period. The units are KB and MB, where KB is 1024 bytes and MB is 1024 KB in this view. The bright blue line represents the allocated memory and the light blue line is the total RAM memory available to S60 software. This can be different from the total physical RAM memory since memory may be reserved for exclusive use. The delta symbol indicates the difference between maximum and minimum memory usage over the region. This is the overall operating system usage, not just that of your application’s. It illustrates memory dynamics of the application during the measurement. The memory may have been allocated not only by your application, but also the operating system components it depends on. For this reason, a difference in extreme beginning and end does not necessarily mean a memory leak. It is wise to check applications running in the background if the memory consumption slowly crawls higher over days, eventually causing a memory-full error situation.

Network


Figure 16: Network view displays downlink and uplink data connection speeds (kBytes/s).

 

Network view presents the downlink (download) and uplink (upload) speeds through the IP stack (Internet Protocol). The unit is KB which is 1000 bytes in this view. Downlink and uplink speeds are shown simultaneously on the screen in green and orange, respectively. Note that you can combine this view with other views through the dual view feature if you hold the [0] key. The average and instant bars are either for downlink or uplink data, depending on the selected input. You can toggle the data input with the [6] key. The same key also toggles the corner indicator that has the total amount of data transferred for downlink (arrow down) or uplink (arrow up).

Signal Levels


Figure 17: Signal Levels view shows receive and transmit values (dBm).

 

This view shows the cellular signal levels as RX and TX levels. RX level corresponds to the power of the received cellular signal. TX level refers to the transmission power from the cellular radio. Both measures are in dBm. TX levels show up only during active transmission periods (voice or data). RX levels are available whenever connected to a cellular network. This means there is no RX level in the Offline phone profile. Average/instant bar values are for the selected signal that is shown in the corner indicator. You can toggle the chosen signal with the [6] key. Unlike all the other views, the zero y-axis is in the bottom of the screen. RX levels are typically between -30 to -120 dBm (a lower value means poorer signal), whereas TX levels are positive dBm (a higher value means more power).

Energy


Figure 18: Energy view.

 

Energy view shows the cumulative energy consumed over the measurement period. The unit is ampere-hour (Ah). Actually this is not the unit for energy, but is commonly used to rate rechargeable battery capacity. 1200 mAh means 1.2 Ah. Note that the Energy view is not available while recording because it is computed in real time. The view is Off by default. Use Options > Settings and the Views tab to activate.

Voltage


Figure 19: Energy view.

 

Voltage view shows the battery voltage levels over a measurement period. As the battery discharges, its voltage level will decrease from roughly 4.2V down to 3V until the phone switches itself off. Shutdown actually happens before the battery is totally exhausted and thus the Battery Time estimate shown and actual operating times will slightly differ. The view is Off by default.

Tips

  • Start and stop measurements with the [2] key.
  • Press the Camera key to take a user interface screenshot and see what was done with the application at a specific time. See Options > Settings and the Screenshots tab for advanced options.
  • More vertical zoom is available if you hold Down / Up key in the normal zoom extremes for most views.
  • Rotate he display to landscape/portrait by holding the [7] key.
  • Check out the dual view mode by holding the [0] key. Try CPU and Power views, for example.
  • Use 1 or 5 second measurement period if you want more accurate results in standby.
  • Do not keep unnecessary applications running during the test. Applications on the background may affect the measurements because Nokia Energy Profiler measures the total power consumption.
  • During record or view mode, you can insert markers to the trace by holding the [5] key.
  • Do not keep the charger connected during measurements because it produces erroneous results. The graph background is gray when the charger is connected.
  • Recording with 1 second mode and inserting the charger plug will cause system crash in some older phones.
  • Although the battery capacity is usually correct, you should check it because it may sometimes have a wrong mAh value.
  • Energy Profiler has an emergency save feature. You can measure until the battery dies and recover the file on the next launch of the tool.
  • Control and plug-in API exists and will be available soon.
  • Place Nokia Energy Profiler first in the list of Active Standby Applications. This way you can quickly switch to it from the active standby screen.
 


Figure 20: Having the tool in Active standby apps makes use easier. Press the End key to move the Energy Profiler screen to the backround.

Terminology

  • One continuous recording is called a "region" (or "measurement period"). This area is limited with "gray marker" lines.
  • A captured screenshot is shown as a "red marker" on the screen.
  • The tool shows instant/average value and is indicated with either a vertical/horizontal "bar".
  • Display states are: backlight on, backlight off, partial refresh (clock is shown), and display off (hardware is off). Backlight on and off states have normal UI graphics.
  • Phone state is "Active" when the backlight of the display is on. Phone state is "Standby" when the display is in partial refresh.

It is highly recommended to use these terms. Otherwise other developers are likely to misunderstand your test case and measurement explanations.

Please read Options > Help because it actually contains very useful information. Also see Options > About for support and feedback e-mail address.

 

Learn how to
download applications

Newsletter sign up

Privacy policy   Archives

Community highlights

Press

Events

Forum Nokia feed

  • Latest devices
  • Latest documents
  • Latest tools
  • Latest blog entries

Terms & Conditions | Privacy policy | Site map | Developer feedback | © Nokia 2008