From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=This test case tests the pm-powersave command (pm-utils package) and the AC / battery detection (upower package). | |description=This test case tests the pm-powersave command (pm-utils package) and the AC / battery detection (upower package). | ||
{{admon/note|This test targets laptop users. If you do not have laptop feel free to skip this test. In this case please leave the corresponding column in the results table blank.}} | {{admon/note|This test targets laptop users.}} | ||
{{admon/note|If you do not have laptop 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 ''pm-test-day'' package installed: | # Check that you have ''pm-test-day'' package installed: |
Revision as of 13:25, 20 March 2011
Description
This test case tests the pm-powersave command (pm-utils package) and the AC / battery detection (upower package).
Setup
- Check that you have pm-test-day package installed:
$ rpm -q pm-test-day
- Install the test script that will react to the AC / battery transitions:
# ln -s /usr/bin/pmtd-osd /etc/pm/power.d/
How to test
- Run on AC.
- Disconnect AC and run only on battery.
- Wait several seconds.
- Re-connect AC.
Expected Results
- "BATTERY" is shown in OSD when switched to battery.
- "AC LINE" is shown in OSD when switched to AC.