You are not logged in.

#1 2018-10-24 17:00:38

Frat_Papi
Member
Registered: 2018-05-02
Posts: 19

Laptop immediately enters suspend after resume

This issue has persisted every since I have tried to add power management to my arch linux laptop. Everytime I close my laptop lid to suspend-then-hibernate and leave my laptop alone for a time it immediately suspends after resume. I am using TLP for power management and xautolock to suspend-then-hibernate when not in use. here is the journalctl log entries from the occurance:

Oct 24 12:12:53 ArchLinux kernel: PM: suspend exit
Oct 24 12:12:53 ArchLinux systemd-sleep[12374]: System resumed.
Oct 24 12:12:53 ArchLinux systemd[1]: Started Suspend; Hibernate if not used for a period of time.
Oct 24 12:12:53 ArchLinux systemd[1]: sleep.target: Unit not needed anymore. Stopping.
Oct 24 12:12:53 ArchLinux systemd[1]: Stopped target Sleep.
Oct 24 12:12:53 ArchLinux systemd[1]: tlp-sleep.service: Unit not needed anymore. Stopping.
Oct 24 12:12:53 ArchLinux systemd[1]: Stopping TLP suspend/resume...
Oct 24 12:12:53 ArchLinux systemd[1]: Reached target Suspend; Hibernate if not used for a period of time.
Oct 24 12:12:53 ArchLinux systemd[1]: suspend-then-hibernate.target: Unit not needed anymore. Stopping.
Oct 24 12:12:53 ArchLinux systemd[1]: Stopped target Suspend; Hibernate if not used for a period of time.
Oct 24 12:12:53 ArchLinux systemd[1]: Reached target Bluetooth.
Oct 24 12:12:53 ArchLinux systemd-logind[708]: Operation 'sleep' finished.

as you can see arch resumes on the second line then immediately suspends on the third, I don't know how to go about finding what systemd service calls this or how to go about solving this at all, any help would be appreciated.

Offline

#2 2018-10-24 17:12:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Laptop immediately enters suspend after resume

And if you remove TLP?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2018-10-24 19:02:25

Frat_Papi
Member
Registered: 2018-05-02
Posts: 19

Re: Laptop immediately enters suspend after resume

If I remove TLP the laptop resumes as normal

Offline

#4 2018-10-24 19:10:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Laptop immediately enters suspend after resume

Then don't use it. Use powertop and system settings or service files to achieve the same result, without the buggy side effects.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2018-10-24 20:19:02

Frat_Papi
Member
Registered: 2018-05-02
Posts: 19

Re: Laptop immediately enters suspend after resume

I've tried both but the same bug occurs, is there any way to relay the journalctl to find out what process logs the information?

Offline

#6 2018-10-24 20:22:00

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Laptop immediately enters suspend after resume

Frat_Papi wrote:

is there any way to relay the journalctl to find out what process logs the information?

Eh? Relay it where? Just read it.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2018-10-25 05:28:12

Frat_Papi
Member
Registered: 2018-05-02
Posts: 19

Re: Laptop immediately enters suspend after resume

The logs don't tell me which service or process logs the info all it says is systemd[1].

Offline

#8 2018-10-25 05:34:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Laptop immediately enters suspend after resume


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB