Feature roadmap/Shutdown menu

From OLPC
< Feature roadmap
Revision as of 23:34, 17 December 2008 by 18.85.46.236 (talk) (added spec inline (first cut))
Jump to navigation Jump to search
Feature subcategory Is part of::Category:Power management
Requesters {{#arraymap:Haiti, Rwanda|,|x|Requested by::x}}
Requirements
  • The power button is currently underutilized. It should allow either shutdown or suspend of the laptop, with the help of an on-screen dialog or menu.
  • Make sure that the clean power button shutdown in 9.1 works from the Sugar nickname
Specification See thread at: http://lists.laptop.org/pipermail/devel/2008-October/020530.html

Summary of that thread:

currently it is much easier to "crash" the laptop (by holding the power button down) than it is to shut it down cleanly. while journalled filesystems can recover from this on the next boot, application writes in progress might not.

pushing the power button on the laptop should present a menu or dialog allowing shutdown. as a strawman UI, the pushing the button should result in a simple dialog that looks like:

       The laptop will suspend in 5 seconds.
          Shutdown, Suspend, Now, Cancel

or, perhaps more simply:

       The laptop will suspend in 5 seconds
       Push the power button again to shutdown.

it's probably important that existing behavior (i.e., pushing the button causes a suspend) not be interfered with too much. not using extra keys, nor needing the mouse, is also desirable.

this will need to interact with lid-close in a sensible manner. namely:

- closing the lid (and therefore suspending) while the
5-second delay is still pending should not cause
unexpected behavior when the laptop reawakens, and
- closing the lid after a shutdown has commenced should
not interrupt or halt the progress of the shutdown.

ideally, power button "menu" should work indepently of sugar (so that it behaves correctly with other window managers), and even independently of X11, so that it works when the user is at a console prompt.

Owners {{#arraymap:PGF, Gregorio|,|x|Contact person::User:x}}
Priority Priority::2
Helps deployability? Helps deployability::yes
Target for 9.1? Target for 9.1::yes