I'm using Windows Vista, and I want to make the computer hibernate or sleep when left idle for a set period of time (for example, 20 minutes). What are the steps for accomplishing this?
Go to Control Panel --> All Control Panel Items --> Power Options
There in the plan selected, click Change Plan Settings. Now click Change Advanced Power settings.
Change the value of Sleep or Hibernate.