# Revision history [back]

### How to suspend after 5 mins of inactivity?

I am using fedora22(newbie). I want my laptop to enter into sleep mode(suspend) after 5 minutes of inactivity.

I tried 2 options:

     IdleAction=suspend
IdleActionSec=5min


but it didn't work as i expected. My laptop automatically went into suspend mode for every 5 minutes even when i was using it. But i want it to suspend only when if there is no mouse,keyboard and network activity.

2. Then i tried power from settings and it has automatic suspend but the minimum time is 15 minutes and upto 2 hours. I want 3 to 5 minutes option.

### How to suspend after 5 mins of inactivity?

I am using fedora22(newbie). I want my laptop to enter into sleep mode(suspend) after 5 minutes of inactivity.

I tried 2 options:

     IdleAction=suspend
IdleActionSec=5min


but it didn't work as i expected. My laptop automatically went into suspend mode for every 5 minutes even when i was using it. But i want it to suspend only when if there is no mouse,keyboard and network activity.

2. Then i tried power from settings and it has automatic suspend but the minimum time is 15 minutes and upto 2 hours. I want 3 to 5 minutes option.

 3 retagged mether 7061 ●43 ●67 ●111 https://fedoraproject....

### How to suspend after 5 mins of inactivity?

I am using fedora22(newbie). I want my laptop to enter into sleep mode(suspend) after 5 minutes of inactivity.

I tried 2 options:

     IdleAction=suspend