You can make your Mac put itself in Sleep mode automatically after a fixed period of time. If your Mac doesn’t detect any keyboard or mouse activity within the length of time you have designated, your computer will put itself into Sleep mode automatic