From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
# Disable sleep mode, in Gnome 3: | # Disable sleep mode, in Gnome 3: | ||
#:<pre>$ gnome-control-center power</pre> | #:<pre>$ gnome-control-center power</pre> | ||
#* In "On battery power", "Suspend when inactive for:" | #* In "On battery power" and in "When plugged in", "Suspend when inactive for:" check there are selected "Don't suspend".#* Set "Turn screen off when inactive for" to max. value (i.e. 1 hour). | ||
# Disable LCD power savings, in Gnome 3: | # Disable LCD power savings, in Gnome 3: | ||
#:<pre>$ gnome-control-center screen</pre> | #:<pre>$ gnome-control-center screen</pre> | ||
#* Uncheck "Dim screen to save power". | #* Uncheck "Dim screen to save power". | ||
#* Set "Turn off after" to max. value. | #* Set "Turn off after" to max. value (i.e. 1 hour). | ||
#* Set "Lock screen after:" to max. value (i.e. 1 hour). | |||
#* For all measurements set "Brigthness" to max. value. | |||
# Disable cron: | # Disable cron: | ||
#:<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|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.}} |
Revision as of 10:08, 3 April 2012
Description
This test case measures energy consumed by you system while in active idle with powersave tuned 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 and cron service:
- Disable screensaver (if applicable).
- Disable sleep mode, in Gnome 3:
$ gnome-control-center power
- In "On battery power" and in "When plugged in", "Suspend when inactive for:" check there are selected "Don't suspend".#* Set "Turn screen off when inactive for" to max. value (i.e. 1 hour).
- Disable LCD power savings, in Gnome 3:
$ gnome-control-center screen
- Uncheck "Dim screen to save power".
- Set "Turn off after" to max. value (i.e. 1 hour).
- Set "Lock screen after:" to max. value (i.e. 1 hour).
- For all measurements set "Brigthness" to max. value.
- Disable cron:
# systemctl stop crond.service
How to test
- Enable tuned laptop-battery-powersave profile by:
# tuned-adm profile laptop-battery-powersave
- Run the following command:
# pmtd-measure-idle
- Do not touch your computer until the test completes (cca. 15 minutes).
- Write the output to the results table.
Expected Results
- Energy consumed during the test is written to the stdout.