QA:Testcase Power Management tuned powersave idle

From FedoraProject

(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
{{admon/note|This test will take approx. 15 minutes.}}
 
{{admon/note|This test will take approx. 15 minutes.}}
 
{{admon/note|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.}}
 
{{admon/note|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.}}
{{admon/note|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_off_idle|Tuned disabled idle]] test.}}
+
{{admon/note|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_off_idle|Active idle]] test.}}
 
|setup=
 
|setup=
 
# Check that you have ''pm-test-day'' package installed:
 
# Check that you have ''pm-test-day'' package installed:

Revision as of 15:29, 16 April 2013

Contents

Description

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

Note.png
This test targets laptop users or users with wattmeter.
Note.png
This test will take approx. 15 minutes.
Note.png
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.
Note.png
If you complete this test, please also complete the Active 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 automatic suspend and screen blanking, in Gnome 3:
    $ gnome-control-center power
    • In "Suspend & Power Off" check that the "Automatic Suspend" is set to "Off".
    • In "Power Saving" set "Blank Screen" to "Never".
  3. For all measurements set LCD brigthness to max. value (if applicable) or at least to the same value for all measurements (if possible indicate your brightness level in the results table).
  4. Disable cron:
    # systemctl stop crond.service

How to test

Note.png
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.
Note.png
If you are running on battery, please recharge your battery to full capacity before running this test. If you don't have enough time, you can skip the recharging.
Note.png
If it complains that the test cannot be run on your computer, use external wattmeter or skip this test.
Note.png
If the screen blanks during the measurement, unblank it by e.g. mouse movement.
  1. Activate tuned by:
     # systemctl start tuned.service
  2. Enable tuned powersave profile by:
    # tuned-adm profile powersave
  3. 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.
  4. Do not touch your computer until the test completes (15 minutes).
  5. Write the output to the results table.

Expected Results

  1. Energy consumed during the test.