Mobile/PowerUsage: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
<strong><u>Important Point</u></strong><br>
<strong><u>Important Point</u></strong><br>
<ul>
<ul>
<li>A power model is necessary because it is difficult to tell whether a surge in power draw is a result of wifi being turned on, number of cycles per second going up, GPS being turned on for some reason, or another reason.</li>
<li>The variation between power consumption of various components for different types of phones is significant. Therefore a power model will have to be generated for each new phone that we want to test. We currently have an implementation that was generated for the G1, G2 and Nexus One (see PowerTutor below)</li>
<li>The variation between power consumption of various components for different types of phones is significant. Therefore a power model will have to be generated for each new phone that we want to test. We currently have an implementation that was generated for the G1, G2 and Nexus One (see PowerTutor below)</li>
</ul>
</ul>
Line 21: Line 22:
<br>
<br>
<br>
<br>
Main Paper - http://empathicsystems.org/Papers/codes10.pdf <br>
<strong>Main Paper</strong>
http://empathicsystems.org/Papers/codes10.pdf <br>
<strong>Quick Summary</strong><br>
<strong>Quick Summary</strong><br>
<br>
<br>
<strong>Other related papers</strong><br>
<strong>Other related papers</strong><br>

Revision as of 17:37, 1 February 2012

Terminology

Meter-based (manual) power model - A model built using a power meter.
Battery-based power model - A model built using knowledge of battery discharge behavior, build-in voltage sensors and the average power consumption resulting from placing components into different power states.
Online power model generation - Power model generation based on the influence of the power management and activity states of hardware components on system power consumption.
Online power estimation - Power use estimation done by software using some power model.

Important Point

  • A power model is necessary because it is difficult to tell whether a surge in power draw is a result of wifi being turned on, number of cycles per second going up, GPS being turned on for some reason, or another reason.
  • The variation between power consumption of various components for different types of phones is significant. Therefore a power model will have to be generated for each new phone that we want to test. We currently have an implementation that was generated for the G1, G2 and Nexus One (see PowerTutor below)

PowerTutor
https://market.android.com/details?id=edu.umich.PowerTutor&hl=en
Note: PowerTutor's power model was built on HTC G1, HTC G2 and Nexus one. It will run on other versions of the GPhone, but when used with phones other than the above phone models, power consumption estimates will be rough.

Doesn't work at all on:
Galaxy Nexus
GT-i9020


Main Paper http://empathicsystems.org/Papers/codes10.pdf
Quick Summary


Other related papers
Background Paper - http://www.ruf.rice.edu/~mobile/publications/dong11mobisys_sesame.pdf

Rough Example of Data
Description:This test involves a phone startup, it sitting idle, fennec starting up, sitting idle, a past webpage load and another website visit.
Early power.png Right now we automate only on tegra boards that are on full AC power. According to Clint Talbert (ctalbert), once he has the s1s2 stuff live (don't know what s1s2 is), we can look at testing this on real devices on a per-nightly basis. Questions

  • Is being test accurately only on the G1, G2 and Nexus One a dead breaker? If so, we would have to pick another device and use the Main Paper above to generate a power model for it and code up an implementation similar to PowerTutor's. Thankfully we have the source code for it!
  • Right now I am manually starting PowerTutor and then running RoboCop tests, then stopping PowerTutor and transfering a log to a machine on which I run an analysis script. Ideally I could fully automate the process by running setup and teardown Robotium-style scripts.


Next Steps

  • I am looking to provide insightful, reproducible power usage estimates for various Fennec operations. In particular, Fennec with sync on vs without sync.