Skip to content

Trying to troubleshoot suspend-then-hibernate with lid closed

Hi!

I have suspend and hibernate up and running.

I have no problem with suspend-then-hibernate when the power cable is plugged in, or the lid is open. The trouble begins when I close the lid and not having external power. When I remove the power cable and close the lid it stays in suspend even after the RTC-alarm should have triggered the hibernate. And when I open the lid, the rtc-alarm triggers and the computer goes into hibernate.

I've tried setting a RTC-alarm by hand and testing. Same result. Works while the lid is open or when power is plugged in and the lid is closed. But not without power and lid closed.

It's an old Macbook Air, so I think it might be a hardware/firmware problem, not a Linux problem. But how do I find out? I've been searching the web but I don't find anything.

9 points4 comments
Open on Reddit
About this post
Posted
Archived
Score
9 · 100% up
Kind
Text
ID
miwolf

Author

1
posts
2
comments
0
media
View profile

4 comments

2 points
SweNcOP2 hidden

I’ve read it. Is there something special in there you’re refering to?

1 points

Troubleshooting
Delayed lid switch action
When performing lid switches in short succession, logind will delay the suspend action for up to 90s to detect possible docks. [3] This delay was made configurable with systemd v220:[4]

/etc/systemd/logind.conf
...
HoldoffTimeoutSec=30s
...

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.