From Fedora Project Wiki

No edit summary
No edit summary
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=This test case measures energy consumed by you system while in active idle with laptop-battery-powersave profile activated.  
|description=This test case measures energy consumed by you system while in active idle with powersave tuned profile activated.  
{{admon/note|This test targets laptop users.}}
{{admon/note|Limited audience|This test targets laptop users or users with wattmeter.}}
{{admon/note|This test will take approx. 15 minutes.}}
{{admon/note|Long test|This test will take approx. 15 minutes.}}
{{admon/note|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.}}
{{admon/note|Optional test case|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_performance_idle|Tuned perf idle]] test.}}
{{admon/note|Complementary test case|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:
Line 10: Line 10:
For better results disable screensaver, screen dimming/turning off, transition to sleep mode and cron service:
For better results disable screensaver, screen dimming/turning off, transition to sleep mode and cron service:
# Disable screensaver (if applicable).
# Disable screensaver (if applicable).
# Disable sleep mode, in Gnome 3:
# Disable automatic suspend and screen blanking, in Gnome 3:
#:<pre>$ gnome-control-center power</pre>
#:<pre>$ gnome-control-center power</pre>
#* Uncheck "On battery power"
#* In "Suspend & Power Off" check that the "Automatic Suspend" is set to "Off".
# Disable LCD power savings, in Gnome 3:
#* In "Power Saving" set "Blank Screen" to "Never".
#:<pre>$ gnome-control-center screen</pre>
# 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).
#* Uncheck "Dim screen to save power".
#* Set "Turn off after" to max. value.
# Disable cron:
# Disable cron:
#:<pre># service crond stop</pre>
#:<pre># systemctl stop crond.service</pre>
# Disable user PM via gconf (and save previous settings), it needs to be run under user who is logged into desktop:
# If you have secondary video card, please disable it by following instructions on [http://fedoraproject.org/wiki/Bumblebee]
#:<pre>$ pmtd-pm-user-settings saveoff</pre>
#* After the test it is possible to restore the previous settings by using the ''restore'' parameter instead of ''saveoff''.
|actions=
|actions=
{{admon/note|This test needs to be run on battery.}}
{{admon/note|Run from battery|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.}}
{{admon/note|Before running this test please recharge your battery to full capacity.}}
{{admon/note|Battery charge level|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. }}
{{admon/note|If it complains that the test cannot be run on your computer, please skip this test.}}
{{admon/note|Measurement problems|If it complains that the test cannot be run on your computer, use external wattmeter or skip this test.}}
# Enable tuned laptop-battery-powersave profile by:
{{admon/note|Screen blanking|If the screen blanks during the measurement, unblank it by e.g. mouse movement.}}
#:<pre># tuned-adm profile laptop-battery-powersave</pre>
# Activate tuned by:
# Run the following command:
#:<pre> # systemctl start tuned.service</pre>
#:<pre># pmtd-measure-idle</pre>
# Enable tuned powersave profile by:
# Do not touch your computer until the test completes (cca. 15 minutes).
#:<pre># tuned-adm profile powersave</pre>
# If you have laptop running on battery, run the following command:
#:<pre># pmtd-measure</pre>
#: Otherwise connect your external wattmeter and measure energy consumed in 15 minute interval.
# Do not touch your computer until the test completes (15 minutes).
# Write the output to the results table.
# Write the output to the results table.


|results=
|results=
# Energy consumed during the test is written to the stdout.
# Energy consumed during the test.
}}
}}


[[Category:Power_Management_Test_Cases]]
[[Category:Power_Management_Test_Cases]]

Latest revision as of 16:13, 16 April 2013

Description

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

Limited audience
This test targets laptop users or users with wattmeter.
Long test
This test will take approx. 15 minutes.
Optional test case
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.
Complementary test case
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
  5. If you have secondary video card, please disable it by following instructions on [1]

How to test

Run from battery
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.
Battery charge level
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.
Measurement problems
If it complains that the test cannot be run on your computer, use external wattmeter or skip this test.
Screen blanking
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.