From Fedora Project Wiki

Line 33: Line 33:
# Do not touch your computer until the test completes (cca. 15 minutes).
# Do not touch your computer until the test completes (cca. 15 minutes).
# Write the output to the results table.
# Write the output to the results table.
 
{{admon/note|If you get error about missing /proc/acpi/battery/BAT0 and no valid results, update your pm-test-day package to version 2.1-1 or newer.}}
|results=
|results=
# Energy consumed during the test is written to the stdout.
# Energy consumed during the test is written to the stdout.

Revision as of 14:19, 29 September 2011

Description

This test case measures energy consumed by you system while in active idle with deactivated tuned (e.g. the default setting).

Note.png
This test targets laptop users.
Note.png
This test will take approx. 15 minutes.
Note.png
If you do not have laptop or enough time feel free to skip this test. In this case please leave the corresponding column in the results table blank.
Note.png
If you complete this test, please also complete the Tuned powersave 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", "Suspend when inactive for:" select "Don't suspend".
  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.
  4. Disable cron:
    # systemctl stop crond.service
  5. Disable user PM via gconf (and save previous settings), it needs to be run under user who is logged into desktop:
    $ pmtd-pm-user-settings saveoff
    • After the test it is possible to restore the previous settings by using the restore parameter instead of saveoff.

How to test

Note.png
This test needs to be run on battery.
Note.png
Before running this test please recharge your battery to full capacity.
Note.png
If it complains that the test cannot be run on your computer, please skip this test.
Note.png
If the screen blanks during the measurement, unblank it by e.g. mouse movement.
  1. Disable tuned by:
    # tuned-adm off
  2. Run the following command:
    # pmtd-measure-idle
  3. Do not touch your computer until the test completes (cca. 15 minutes).
  4. Write the output to the results table.
Note.png
If you get error about missing /proc/acpi/battery/BAT0 and no valid results, update your pm-test-day package to version 2.1-1 or newer.

Expected Results

  1. Energy consumed during the test is written to the stdout.
Note.png
Results can be in mAh or mWh.