Google soft poweroff. Makes a long-press on the power-key equivalent to putting the cover on the 770. Just be sure to reduce the long-press delay to something a little more manageable (300-500ms).