From Fedora Project Wiki
No edit summary |
No edit summary |
||
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 deactivated tuned (i.e. this is the default). | |description=This test case measures energy consumed by you system while in active idle with deactivated tuned (i.e. this is the default). | ||
{{admon/note|This test targets laptop users or users with wattmeter.}} | {{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 PC with wattmeter) or 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|Optional test case|If you do not have laptop (or PC with wattmeter) or 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:Testcase_Power_Management_tuned_powersave_idle|Tuned powersave idle]] or [[QA:Testcase_Power_Management_video_powersave_idle|Power consumption with enabled aggressive video card power savings]] test case .}} | {{admon/note|Complementary test case|If you complete this test, please also complete the [[QA:Testcase_Power_Management_tuned_powersave_idle|Tuned powersave idle]] or [[QA:Testcase_Power_Management_video_powersave_idle|Power consumption with enabled aggressive video card power savings]] test case .}} | ||
|setup= | |setup= | ||
# Check that you have ''pm-test-day'' package installed: | # Check that you have ''pm-test-day'' package installed: | ||
Line 18: | Line 18: | ||
#:<pre># systemctl stop crond.service</pre> | #:<pre># systemctl stop crond.service</pre> | ||
|actions= | |actions= | ||
{{admon/note|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|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|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|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, use external wattmeter or 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.}} | ||
{{admon/note|If the screen blanks during the measurement, unblank it by e.g. mouse movement.}} | {{admon/note|Screen blanking|If the screen blanks during the measurement, unblank it by e.g. mouse movement.}} | ||
# Disable tuned by: | # Disable tuned by: | ||
#:<pre># systemctl stop tuned.service</pre> | #:<pre># systemctl stop tuned.service</pre> |
Revision as of 15:44, 16 April 2013
Description
This test case measures energy consumed by you system while in active idle with deactivated tuned (i.e. this is the default).
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 and cron service:
- Disable screensaver (if applicable).
- 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".
- 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).
- Disable cron:
# systemctl stop crond.service
How to test
- Disable tuned by:
# systemctl stop tuned.service
- 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.
- Do not touch your computer until the test completes (15 minutes).
- Write the output to the results table.
Expected Results
- Energy consumed during the test.