Tests/Suspend Resume: Difference between revisions
Line 24: | Line 24: | ||
* Also, if the machine was resumed by key press, the key press will not be acted upon. |
* Also, if the machine was resumed by key press, the key press will not be acted upon. |
||
==suspend/resume by the power button== |
==suspend/resume by pressing the power button, or by lid closing/opening== |
||
Actions: |
Actions: |
||
# Launch an activity that plays a long audio/video file, or launch record and start recording video. |
# Launch an activity that plays a long audio/video file, or launch record and start recording video. |
||
# Press the power button. |
# Press the power button, or close the lid. |
||
Verify: |
|||
* The machine should be put into suspend mode. |
|||
Actions: |
|||
# When the machine is on, press the power button. |
|||
Verify: |
Verify: |
||
* The machine should be put into suspend mode, which includes screen off. |
* The machine should be put into suspend mode, which includes screen off. |
||
* Wireless is still operational. (How? --[[User:Chihyu|Chihyu]] 18:33, 10 January 2008 (EST)) |
|||
Actions: |
Actions: |
||
⚫ | |||
# Press the power button when the laptop is suspended |
|||
⚫ | |||
# Shut down the machine from home view. |
# Shut down the machine from home view. |
||
Verify: |
Verify: |
||
* The machine should return to powered on state with the same activities running as before being suspended. |
* The machine should return to powered on state with the same activities running as before being suspended. |
||
(if the lid is opened to resume the machine, it may be necessary to press a key or the power button) |
|||
* If the machine was resumed by key press, the key press will not be acted upon. |
* 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. |
* One should be able to execute a full power down of the laptop from the Sugar home view. |
Revision as of 23:33, 10 January 2008
screen turns off
Actions:
- Boot up the machine, and do not do anything else.
- Leave the machine on and untouched for X minutes.
Verify:
- After X minutes of inactivity through keyboard, mouse, directional, or gamepad keys, the screen will turn completely off (black).
(where to find out how long X should be? --Chihyu 16:16, 10 January 2008 (EST))
- The Power Indicator LED is off but flashing every few seconds.
screen turns on
Actions:
- Open Terminal or Write; randomly type something (optional, depending on which mechanism is used in the 3rd step --Chihyu 16:32, 10 January 2008 (EST))
- Leave the machine on until the screen turns off
- 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 --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.
- The Power Indicator LED should turn green.
- Also, if the machine was resumed by key press, the key press will not be acted upon.
suspend/resume by pressing the power button, or by lid closing/opening
Actions:
- Launch an activity that plays a long audio/video file, or launch record and start recording video.
- Press the power button, or close the lid.
Verify:
- The machine should be put into suspend mode, which includes screen off.
- Wireless is still operational. (How? --Chihyu 18:33, 10 January 2008 (EST))
Actions:
- When the laptop is suspended: If the lid is closed, open the lid; otherwise 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 lid is opened to resume the machine, it may be necessary to press a key or the power button)
- 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.
(How to find out the defined shut down level? --Chihyu 18:20, 10 January 2008 (EST))
test item goes here
Actions:
- action steps go here
Verify:
- things to verify go here
bugs
fixed
http://dev.laptop.org/ticket/5400
http://dev.laptop.org/ticket/4843
not yet
http://dev.laptop.org/ticket/3355
http://dev.laptop.org/ticket/4824
http://dev.laptop.org/ticket/2765
http://dev.laptop.org/ticket/5457
(copy the requirements over just for me own ease; will delete later)
Power Management Requirements
Most of the power management is behind the scene and should be invisible to the student.
The Power Management Table details what sections of the laptop are powered in different states. A more detailed description of the implementation is available at Hardware Power Domains.
Screen off
*PW1 After X minutes of inactivity through keyboard, mouse, directional, or gamepad keys, the screen will turn completely off (black), unless a running activity has asked to inhibit this timeout.
- PW2 In this mode, the mesh network is working properly and can forward packets.
*PW3 The screen will turn back on at the press of any key on the keyboard, mouse, directional or gamepad keys. The back light will come back on to the level it was before the screen was turned off. The key press will not be acted upon.
Suspend/Resume Button
The purpose of the 'suspend/resume' button on the laptop is to allow a child to leave the laptop open with the antenna up (and potentially having set up a good RF relay); and go into suspend with only the wireless on. The 'suspend' that happens is the same as that when the lid is closed, but that changes the RF characteristics quite a bit.
*PW4 Pushing the 'Suspend/Resume' button (previously the power button), will put the laptop into suspend mode, which includes Screen off.
- PW4.1 In suspend mode, the laptop will continue to forward mesh networking packets if it is in the path between other mesh points (laptops, school servers).
**PW4.2 Pushing the 'Suspend/Resume' button when the laptop is suspended will return it to powered on state with the same activities running as before it suspended.
**PW4.3 Pressing any key on the keyboard, the mouse, directional keys or gamepad keys will also return the laptop to its full operational state. The button will not be acted upon.
*PW5 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.
*PW6 The student must be able to execute a full power down of the laptop from the Sugar home view.
Lid Closed
Whenever a student closes the lid, the laptop should go into suspend mode to save battery power. Wireless is still operational.
- PW7 When the lid is closed on the laptop, it will have the same affect as pushing the suspend/resume button (see Suspend/Resume Button).
- PW8 When the lid is opened, the laptop will resume (or, it may be necessary for the student to press a key or the suspend/resume button)
Ebook mode
Behind the scenes, reading should consume the least amount of power after 'suspend'. The student shouldn't notice anything when in ebook mode.
- PW9 A student can download a pdf file, and click on it. It will format and open for reading on the screen in low power mode. The screen brightness button can be used to reduce the power consumption even more.
- PW10 The student can convert the laptop to tablet mode and use the directional keys for scrolling through the text.
- PW11 If the student presses the rotate button, the screen will rotate 90 degrees. (This is in any mode, not just ebook mode !)
- PW12 In ebook mode, the screen may be turned off (see Screen Off) if there is no input activity for a fixed time period.