From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
{{admon/note|If you do not have laptop 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 do not have laptop 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.}} | ||
|setup= | |setup= | ||
# Check that you have | # Check that you have ''pm-test-day'' package installed: | ||
#:<pre>$ rpm -q | #:<pre>$ rpm -q pm-test-day</pre> | ||
The calibration process could be affected by other power savings mechanisms. The PowerTOP can control brightness and wireless devices, thus we need to disable screensaver, screen dimming/turning off, transition to sleep mode, HDD power savings and cron service. | The calibration process could be affected by other power savings mechanisms. The PowerTOP can control brightness and wireless devices, thus we need to disable screensaver, screen dimming/turning off, transition to sleep mode, HDD power savings and cron service. Scripts are provided: | ||
# Disable | # Disable user PM via gconf (and save previous settings): | ||
#:<pre>$ pmtd-pm-user-settings saveoff</pre> | |||
#:<pre>$ | #* After the test it is possible to restore the previous settings by: | ||
#* | #*:<pre>$ pmtd-pm-user-settings restore</pre> | ||
# Disable system PM (and save previous settings): | |||
#:<pre>$ | #:<pre># pmtd-pm-system-settings saveoff</pre> | ||
# | #* After the test it is possible to restore the previous settings by: | ||
#*:<pre># pmtd-pm-user-settings restore</pre> | |||
#:<pre># | |||
# | |||
#:<pre># | |||
|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.}} | |||
# Disconnect AC and run on battery. | # Disconnect AC and run on battery. | ||
# Start calibration by: | # Start calibration by: |
Revision as of 19:00, 20 March 2011
Description
This test case tests the PowerTOP 2.x power estimation engine.
Setup
- Check that you have pm-test-day package installed:
$ rpm -q pm-test-day
The calibration process could be affected by other power savings mechanisms. The PowerTOP can control brightness and wireless devices, thus we need to disable screensaver, screen dimming/turning off, transition to sleep mode, HDD power savings and cron service. Scripts are provided:
- Disable user PM via gconf (and save previous settings):
$ pmtd-pm-user-settings saveoff
- After the test it is possible to restore the previous settings by:
$ pmtd-pm-user-settings restore
- Disable system PM (and save previous settings):
# pmtd-pm-system-settings saveoff
- After the test it is possible to restore the previous settings by:
# pmtd-pm-user-settings restore
How to test
- Disconnect AC and run on battery.
- Start calibration by:
# powertop --calibrate
- During the calibration process the PowerTOP will change various settings of your system including the LCD backlight, let it run. It will take approx. 10 minutes. Do not use your computer while calibrating. After the calibration the PowerTOP will start automatically.
- Let the PowerTOP run to collect enough data. You can let it run in the background and simultaneously work with your computer as usual. In active idle the collection process can take 1 hour or more. After enough data are collected, the PowerTOP will start showing the estimation of power consumption for each item.
Expected Results
- PowerTOP successfully collects calibration data.
- Power consumption estimation starts showing for each item in the first column.