Tests/Suspend Resume: Difference between revisions
< Tests
Jump to navigation
Jump to search
No edit summary |
|||
Line 33: | Line 33: | ||
Actions: |
Actions: |
||
# Press any key on the keyboard, mouse, directional or gamepad keys |
# Press any key on the keyboard, mouse, directional or gamepad keys |
||
(may have to repeat this multiple times to make sure the machine can be resumed by all different types of keys --[[User:Chihyu|Chihyu]] 16:32, 10 January 2008 (EST)) |
(may have to repeat this test multiple times to make sure the machine can be resumed by all different types of keys --[[User:Chihyu|Chihyu]] 16:32, 10 January 2008 (EST)) |
||
Verify: |
Verify: |
||
Line 39: | Line 39: | ||
* The back light will come back on to the level it was before the screen was turned off. ([http://dev.laptop.org/ticket/4843 #4843]) |
* The back light will come back on to the level it was before the screen was turned off. ([http://dev.laptop.org/ticket/4843 #4843]) |
||
* The Power Indicator LED should turn green. |
* The Power Indicator LED should turn green. |
||
* |
* Also, if the machine was resumed by key press, the key press will be acted upon. ([http://dev.laptop.org/ticket/5973 #5973]) |
||
==suspend/resume by pressing the power button== |
==suspend/resume by pressing the power button== |
Revision as of 18:10, 14 January 2008
suspend mode
Actions:
- Connect the machine with the power adapter. Make sure the power adapter is plugged in. (test this with the machine solely powered by battery and/or power adapter? --Chihyu 12:22, 14 January 2008 (EST))
- Boot up the machine, adjust the brightness level to 8 (brightest), and do not do anything else.
- Leave the machine on until the screen is dimmed.
Verify:
- After a brief period of both input inactivity (keyboard, touchpad, buttons) and CPU inactivity, the screen will dim and the laptop will enter suspend mode, unless a running activity has asked to inhibit this. (currently, the "brief period" is 5 minutes. --Chihyu 12:22, 14 January 2008 (EST))
Actions:
- If the machine is not connected to wireless network, press any key on the keyboard, mouse, directional or gamepad keys. Otherwise, wait.
Verify:
- At the press of any key on the keyboard, mouse, directional or gamepad keys, the power button, or a wireless packet, the laptop will wake from suspend and the back light will come back on to the level it was before the suspend.
sleep mode
Actions:
- Connect the machine with the power adapter. Make sure the power adapter is plugged in.
- Boot up the machine, and do not do anything else.
- Open Terminal or Write; randomly type something (optional, depending on which mechanism is used in screen turns on --Chihyu 16:32, 10 January 2008 (EST))
- Leave the machine on until the screen turns off, then leave it untouched for X minutes.
Verify:
- After X minutes of inactivity through keyboard, mouse, directional, or gamepad keys, the screen will turn completely off (black).
- To find out how long X should be, go to the Terminal activity and type xset -q . Screen Saver timeout is set to 600, which means 10 minutes. DPMS Standby is set to 1200, which means 20 minutes.
- To change the Screen Saver time out to, for example, 5 minutes, type xset s 300 . To change other values, type xset for usage.
- The Power Indicator LED is off but flashing every few seconds.
(For future reference: info found under /etc/ohm/plugins.d)
Actions:
- Press any key on the keyboard, mouse, directional or gamepad keys
(may have to repeat this test multiple times to make sure the machine can be resumed by all different types of keys --Chihyu 16:32, 10 January 2008 (EST))
Verify:
- The screen will turn back on.
- The back light will come back on to the level it was before the screen was turned off. (#4843)
- The Power Indicator LED should turn green.
- Also, if the machine was resumed by key press, the key press will be acted upon. (#5973)
suspend/resume by pressing the power button
Actions:
- Launch an activity that plays a long audio/video file, or launch record and start recording video.
- Press the power button.
Verify:
- The machine should be put into suspend mode, which includes screen off.
- Wireless is still operational.
- Verify this from the indicator light? --Chihyu 18:33, 10 January 2008 (EST)
Actions:
- When the laptop is suspended: Press the power button. Alternatively, press any key on the keyboard, mouse, directional or gamepad keys, as in screen turns on.
- Shut down the machine from home view.
Verify:
- The machine should return to powered on state with the same activities running as before being suspended.
If the machine was resumed by key press, the key press will not be acted upon.- One should be able to execute a full power down of the laptop from the Sugar home view.
suspend/resume by lid closing/opening
Actions:
- Launch an activity that plays a long audio/video file, or launch record and start recording video.
- Close the lid.
Verify:
- The machine should be put into suspend mode, which includes screen off.
- Wireless is NOT operational.
- Verify this from the indicator light? --Chihyu 18:33, 10 January 2008 (EST)
Actions:
- When the laptop is suspended: Open the lid. (it may be necessary to press a key or the power button to resume the machine)
- Shut down the machine from home view.
Verify:
- The machine should return to powered on state with the same activities running as before being suspended.
If the machine was resumed by key press, the key press will not be acted upon.- One should be able to execute a full power down of the laptop from the Sugar home view.
shut down in battery mode
Actions:
- Unplug the machine from the power source.
- Launch Write; type something. (optional)
- Manually suspend the machine or wait for automatic suspension.
Verify:
- When the battery gets to its defined shut down level, whether in suspend mode or full operational mode, it will shut down gracefully, without data destruction.
restart sugar
Actions:
- When the machine is on, hit Ctrl-Alt-Erase.
Verify:
- This should not crash power manager. Suspend/resume behavior should remain the same. (#5400)