OHM power management

From OLPC
Revision as of 20:09, 28 August 2007 by Jg (talk | contribs)
Jump to navigation Jump to search
  This page is monitored by the OLPC team.
  Please copy/paste "{{Translationlist | xx | origlang=en | translated={{{translated}}}}}" (where xx is ISO 639 language code for your translation) to OHM power management/translations HowTo [ID# 62481]  +/-  

OHM Policy

Original RFC to mailing list...

  • On momentary power button: turn off screen, suspend machine, leave keyboard and wireless on; keyboard/touchpad will cause instant on again.
  • On lid close on battery, should turn off keyboard, turn off screen, Then should suspend to RAM, including disabling and powering down wireless
  • on lid close, on power, leave the machine on and running.
  • On lid open, turn on keyboard, reset keyboard, resume from suspend, turn wireless back on, tell NM to reassociate (maybe only after some delay), try previous association first, of course...
  • On ebook mode, should turn off keyboard
  • On lid open, should reset keyboard
  • on ebook to non-ebook mode, should reset keyboard
  • on external power supply on *or* off, should reset touchpad
  • rotate should probably be done by OHM.

When we are suspended, and the battery wakes us up because it is "low", then: For now, graceful shutdown after journal has been notified, May do hibernation someday if enough flash is available.

Task: Tune the default DPMS parameters.

Reset keyboard instructions are in trac.

The big question is: how to do idle?

X DPMS extension? X SS extension? cpuidle kernel patch, about to go mainline in Linux, with module to tell ohm the system has been idle? other ideas?