computer low-power mode, including suspend-to-RAM and suspend-to-disk

learn more… | top users | synonyms

33
votes
1answer
27k views

How to disable auto suspend when I close laptop lid?

I'm using archlinux. It never auto-suspend before a recent system upgrade(maybe I updated the kernel?). I think it is related to laptop-mode or acpid, so I stop them: /etc/rc.d/laptop-mode stop ...
8
votes
3answers
4k views

How to debug a suspend problem?

I used to have Fedora 14 installed on this HP Compaq 610, and the suspend feature worked fine. Now that I've installed Scientific Linux 6.1 suspend doesn't work anymore. How do I debug/fix it?
4
votes
3answers
269 views

How to find reason a notebook wakes up?

I'm having a problem with my notebook suspending, but then waking up when I don't want it to (either immediately, or much later when in the bag - I may have two issues to solve here). But for the ...
12
votes
1answer
1k views

How do I make my laptop sleep when it reaches some low battery threshold?

I'm using Ubuntu, but I have i3 as my window manager. Under i3, when my battery reaches 0%, the computer will just abruptly shut down, no warning or anything. Is there a simple script or ...
5
votes
2answers
181 views

Suspend to RAM not working

I get following error when I try to suspend my laptop: failed to check authorisation: GDBus.Error:org.freedesktop.DBus.Error.Service.Unknown: The name org.freedesktop.PolicyKit1 was not provided by ...
5
votes
3answers
1k views

Where to put scripts that run when computer is resumed?

I need to lock the screen when my computer is waken up from memory suspend, So I tried to put the following script to /usr/lib/pm-utils/sleep.d and /etc/pm/sleep.d, but it never got executed, ...
5
votes
2answers
892 views

How do I prevent GNOME suspending while I finish a compilation job

I am trying to build a custom kernel for my machine which is taking a long time to build (as expected). Is it possible to stop my GNOME desktop from suspending the machine until the compilation has ...
5
votes
3answers
431 views

Suspending my laptop breaks ethernet over firewire, are there commands which can fix it?

As mentioned in this question I am using a firewire cable to provide a private network between my laptop and my desktop, because it makes using the screen sharing program synergy much nicer than using ...
4
votes
1answer
2k views

Run a script after lid is opened

I would like to run a script after my laptop lid is opened. is there anything like rc.local that is run after the laptop wakes up after suspending? I use Ubuntu 12 (I need it because some of the ...
1
vote
1answer
318 views

How to trigger mount/umount before/after hibernation?

How to trigger mount/umount before/after hibernation? I use s2disk. Note: Debian
1
vote
2answers
1k views

how to trap a suspend a resume from a bash script

I have a bash script (on osx) running continuously, it currently traps and handles a terminate like so trap onshutdown TERM how can I make trap also handle suspend/resume like trap onsuspend ? ...
2
votes
1answer
179 views

Locking console when computer suspends/hibernates

In X I've used the following script (from here) to lock the computer with i3lock each time pm-suspend or pm-hibernate are invoked. /etc/pm/sleep.d/00screensaver-lock: #!/bin/sh # ...
2
votes
1answer
758 views

LinuxMint15: Suspend to RAM not working

I just installed LinuxMint15 on an Acer Aspire V3-771G-73638G500Maii. Hibernation works. But suspend to RAM does not. When clicking suspend: After a few seconds the screen goes grey and then off. ...
2
votes
2answers
2k views

Fedora auto suspend

I am using Fedora 13 and for shutting down and rebooting automatically, we have the following commands: # shutdown -h/-r now Similarly, if I want to make my system go into suspend mode after ...
1
vote
1answer
3k views

Linux Mint 15: Oliva can't wake from suspend/hibernate?

As most issues people have had, I can't wake my laptop from suspend or hibernate mode. The computer goes to the lock screen and then freezes up to the point where the mouse won't move, forcing me to ...
0
votes
0answers
34 views

Automatic sleep not working in Gnome

I have configured automatic suspend in Settings->Power, then one hour later nothing happen when the suspend time came. I checked the internet for some information and found there is a bug in Gnome ...