From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
{{admon/note|This test will take approx. 5 - 30 minutes (it depends on your computer).}} | {{admon/note|This test will take approx. 5 - 30 minutes (it depends on your computer).}} | ||
{{admon/note|If you do not have 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 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: | {{admon/note|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_off_load|Tuned disabled load]] test.}} | ||
{{admon/warning|This test requires cca. 256 MB free RAM / disk space (not counting the OS).}} | {{admon/warning|This test requires cca. 256 MB free RAM / disk space (not counting the OS).}} | ||
|setup= | |setup= | ||
Line 19: | Line 19: | ||
#* Set "Turn off after" to max. value. | #* Set "Turn off after" to max. value. | ||
# Disable cron: | # Disable cron: | ||
#:<pre># service | #:<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: | # 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> |
Latest revision as of 15:02, 27 September 2011
Description
This test case measures energy consumed by you system while under postmark load with laptop-battery-powersave profile activated.
Setup
- 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, HDD power savings and cron service:
- Disable screensaver (if applicable).
- Disable sleep mode, in Gnome 3:
$ gnome-control-center power
- Uncheck "On battery power"
- Disable LCD power savings, in Gnome 3:
$ gnome-control-center screen
- Uncheck "Dim screen to save power".
- Set "Turn off after" to max. value.
- Disable cron:
# systemctl stop crond.service
- 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
- If you have laptop, disconnect AC and run only on battery.
- Please make sure your battery is charged to 100%.
- Enable tuned laptop-battery-powersave profile by:
# tuned-adm profile laptop-battery-powersave
- Run the following command:
# pmtd-measure-load
- Do not touch your computer until the test completes (cca. 5 -30 minutes).
- Write the output to the results table.
Expected Results
- The time taken by the test is written to the stdout.
- In case you have laptop running on battery the energy consumed during the test is also written to the stdout.