From Fedora Project Wiki

Revision as of 17:10, 3 April 2012 by Jskarvad (talk | contribs)

Description

This test case measures energy consumed by you system while in active idle with powersave tuned profile activated.

This test targets laptop users or users with wattmeter.
This test will take approx. 15 minutes.
If you do not have laptop (or PC with wattmeter) or if you do not enough time feel free to skip this test. In this case please leave the corresponding column in the results table blank.
If you complete this test, please also complete the Tuned disabled idle test.

Setup

  1. Check that you have pm-test-day package installed:
    $ rpm -q pm-test-day

For better results disable screensaver, screen dimming/turning off, transition to sleep mode and cron service:

  1. Disable screensaver (if applicable).
  2. Disable sleep mode, in Gnome 3:
    $ gnome-control-center power
    • In "On battery power" and in "When plugged in", "Suspend when inactive for:" check there are selected "Don't suspend".#* Set "Turn screen off when inactive for" to max. value (i.e. 1 hour).
  3. Disable LCD power savings, in Gnome 3:
    $ gnome-control-center screen
    • Uncheck "Dim screen to save power".
    • Set "Turn off after" to max. value (i.e. 1 hour).
    • Set "Lock screen after:" to max. value (i.e. 1 hour).
    • For all measurements set "Brigthness" to max. value.
  4. Disable cron:
    # systemctl stop crond.service

How to test

This test needs to be run on battery (laptops) or with connected external wattmeter. In case you have laptop and also use external wattmeter please disconnect battery.
If you are running on battery, please recharge your battery to full capacity before running this test.
If it complains that the test cannot be run on your computer, use external wattmeter or skip this test.
If the screen blanks during the measurement, unblank it by e.g. mouse movement.
  1. Enable tuned laptop-battery-powersave profile by:
    # tuned-adm profile laptop-battery-powersave
  2. If you have laptop running on battery, run the following command:
    # pmtd-measure
    Otherwise connect your external wattmeter and measure energy consumed in 15 minute interval.
  3. Do not touch your computer until the test completes (15 minutes).
  4. Write the output to the results table.

Expected Results

  1. Energy consumed during the test.