From Fedora Project Wiki

No edit summary
No edit summary
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 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 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|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_off_idle|Tuned off idle]] test.}}
|setup=
|setup=
# Check that you have ''pm-test-day'' package installed:
# Check that you have ''pm-test-day'' package installed:
#:<pre>$ rpm -q pm-test-day</pre>
#:<pre>$ rpm -q pm-test-day</pre>
For better results disable screensaver, screen dimming/turning off, transition to sleep mode, HDD power savings and cron service. Scripts are provided:
For better results disable screensaver, screen dimming/turning off, transition to sleep mode and cron service.
# Disable user PM via gconf (and save previous settings), it needs to be run under user who is logged into desktop:
# Disable user PM via gconf (and save previous settings), it needs to be run under user who is logged into desktop:
#:<pre>$ pmtd-pm-user-settings saveoff</pre>
#:<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''.
# Disable system PM (and save previous settings):
#:<pre># pmtd-pm-system-settings saveoff</pre>
#* After the test it is possible to restore the previous settings by using the ''restore'' parameter instead of ''saveoff''.
#* 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|This test needs to be run on battery.}}
{{admon/warning|If your battery is charged to less than 50% of its capacity please re-charge it before this test.}}
{{admon/note|Before running this test please recharge your battery to full capacity.}}
{{admon/note|If it complains that the test cannot be run on your computer, please skip this test.}}
# Enable tuned laptop-battery-powersave profile by:
#:<pre># tuned-adm profile laptop-battery-powersave</pre>
# Run the following command:
# Run the following command:
#:<pre># pmtd-measure-powersave-idle</pre>
#:<pre># pmtd-measure-idle</pre>
# 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.

Revision as of 22:59, 23 March 2011

Description

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

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 off 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 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.
  1. Enable tuned laptop-battery-powersave profile by:
    # tuned-adm profile laptop-battery-powersave
  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.

Expected Results

  1. Energy consumed during the test is written to the stdout.