You are not logged in.

#1 2015-01-06 16:35:45

cphyc
Member
Registered: 2015-01-06
Posts: 19

Laptop going to sleep for no reason

Hi,
I am running ArchLinux on a Samsung Serie9 900X3C. My laptop frequently (~10 mins) goes to sleep, but I can't find the reason why.
Here is a pastebin of the output of dmesg and here is a pastebin of the output of journalctl. For example here, around Jan 06 17:24:45, the system went to sleep suddenly for no reason.

According to the logs, no errors occured, so I suspect a user-side program is suspending my computer. How could I know which one triggered it and why?

Cheers,
Corentin

Offline

#2 2015-01-06 18:49:08

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Laptop going to sleep for no reason

What is the output of "upower -d" and "cat /etc/systemd/logind.conf"?

Last edited by lucke (2015-01-06 18:51:32)

Offline

#3 2015-01-06 19:19:49

cphyc
Member
Registered: 2015-01-06
Posts: 19

Re: Laptop going to sleep for no reason

See here for logind.conf and here for upower output.

Last edited by cphyc (2015-01-06 19:20:29)

Offline

#4 2015-01-06 19:40:31

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Laptop going to sleep for no reason

Through logind.conf you told the system to suspend after 600 seconds of idle, and it does.

Offline

#5 2015-01-06 19:46:17

cphyc
Member
Registered: 2015-01-06
Posts: 19

Re: Laptop going to sleep for no reason

The thing is that the computer is not idle, I'm using it when it suspends. However I am going to comment the line and see if it makes any change.

Offline

#6 2015-01-06 19:58:28

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Laptop going to sleep for no reason

Offline

#7 2015-01-06 20:02:55

cphyc
Member
Registered: 2015-01-06
Posts: 19

Re: Laptop going to sleep for no reason

Your previous solution solved the problem. I'm using i3. Have you found any report concerning erroneous report of idle time by i3?

Offline

#8 2015-01-06 20:08:28

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Laptop going to sleep for no reason

I haven't. I have no idea how KDE or GNOME deal with that.

Offline

Board footer

Powered by FluxBB