1) add calls for lid_close and lid_open based on servo controls (we used to do this long time ago) to the action_suspend and action_resume methods
- pass a parameter 'use_lid' with True or False value to choose which way to suspend and resume
- default value - use_lid=False
2) Add actions corresponding to lid close and lid open
2.a. In actions main loop(line 298) for lid_open action pass action_suspend(use_lid=true)
2.b Add few new control files with action_sequence like;
- unplug,login,lid_close,lid_open
- login,unplug,lid_close,lid_open
- login,lid_close,lid_open
Comment 1 by ka...@chromium.org
, Jun 24 2016