You are not logged in.

#1 2014-10-05 16:23:21

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Troubleshoot unwanted resume from sleep on lid close

Using Arch on a Chromebook laptop. "sytemct suspend" works just fine when command launched from keyboard. However, sometimes when launched using acpi lid close event I open the lid to find that the system has resumed and battery power has drained. This happens inconsistently. This is what I have in my /etc/acpi/handler.sh file for a lid close event

xset -dpms
xset s 10
pkill dwb
sudo systemctl suspend

I am not sure what logs to check to try to diagnoze why this might be happening. Any ideas appreciated.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#2 2014-10-05 16:39:06

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: Troubleshoot unwanted resume from sleep on lid close

Who is the manufacturer? Samsung by any chance?

Offline

#3 2014-10-05 16:49:36

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Troubleshoot unwanted resume from sleep on lid close

Yes, Samsung - why?


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

#4 2014-10-05 16:55:42

parchd
Member
Registered: 2014-03-08
Posts: 421

Re: Troubleshoot unwanted resume from sleep on lid close

If the problem started upon upgrading to kernel 3.16.3 then you are possibly suffering from the same underlying issue as I've got here:
acpi says discharging; plugged in and charging

The kernel bug tracker can tell you more.

Offline

#5 2014-10-05 21:23:27

lagagnon
Member
From: an Island in the Pacific...
Registered: 2009-12-10
Posts: 1,087
Website

Re: Troubleshoot unwanted resume from sleep on lid close

The problem has existed for the last few kernels so I don't think your suggestion is the problem. I will continue trying to find something in the systemd journal.


Philosophy is looking for a black cat in a dark room. Metaphysics is looking for a black cat in a dark room that isn't there. Religion is looking for a black cat in a dark room that isn't there and shouting "I found it!". Science is looking for a black cat in a dark room with a flashlight.

Offline

Board footer

Powered by FluxBB