several utilities and script useful for power management tasks. Questions about how to use, create and administrate the provided shell or scripts.

learn more… | top users | synonyms

0
votes
0answers
8 views

service that calls pm-hibernate when battery is low [duplicate]

The tool acpi tells me, how charged the battery of my laptop is. The pm tools let me hibernate or suspend my laptop. Since I'm using a window manager, by default there is nothing that takes care, ...
1
vote
0answers
9 views

Linux tool for managing pm-utils

I just discovered the pm-utils for suspending and hibernating my laptop. they work great. And I'm about to write a little program that invokes hibernation, in case the battery is low, and: invokes ...
1
vote
1answer
114 views

What's the relation betwen ACPI, udev, HAL and pm-utils

I'm trying to figure out how the power management in achieved in Linux (because I want to fix some issues in my laptop). I have found thoughtful documentation about these elements separately. In other ...
0
votes
2answers
112 views

occurance of a string in multiple file

I have two files 1. input.txt 2. keyword.txt input.txt has contents like .src_ref 0 "call.s" 24 first 0x000000 0x5a80 0x0060 BRA.l 0x60 .src_ref 0 "call.s" 30 first 0x000002 ...
3
votes
0answers
114 views

Running script before suspending while using dbus

I have a file: /etc/pm/sleep.d/85rmNvidiaModule. In it I have: #!/bin/bash case $1 in suspend) echo "Oh, this time we are doing a suspend to RAM. Cool!" sudo modprobe -r ...
0
votes
0answers
909 views

Where are pm-powersave settings on OpenSUSE 13.2, and are they used?

I am trying to sort out powersaving for OpenSUSE 13.2 running on a laptop. I found this guide: https://en.opensuse.org/Powersaving for understanding Powersaving on OpenSUSE. However, it appears to ...
4
votes
1answer
807 views

hibernate / suspend problems

Problem The Fn-F4 function key combination does not result in hibernating, instead it resets the internet connection instead Symptoms pm-hibernate and pm-suspend just reset the connection. ...
2
votes
1answer
396 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 # ...
1
vote
1answer
741 views

Wake on LAN through PHY and unicast only works in the first ~30 seconds after pm-suspend

I'm having some trouble with Wake on LAN through PHY and unicast. I'm able to wake the system by pinging or sshing the shut down machine, but only within the first ~30 seconds. Why's that, what could ...
2
votes
0answers
1k views

Why does resume from hibernation pause/hang?

I used suspend (to ram) for a long time, and it worked flawlessly. Recently, I started using hibernate (to disk) - not-quite-flawlessly. Hibernate-to-disk works (from the terminal, so far - as ...
1
vote
1answer
1k views

Resume from hibernate fails after image restoration

I've been trying to get hibernation to work, and am having problems. The system seems to go into hibernation just fine, but when I try to restore from disk, the process stops just after a message ...
7
votes
1answer
4k views

Linux Mint: Hibernate does not work

I have tried hibernate multiple times on my Linux Mint 14. It does not seem to work. I have added some log which I think may be useful. Can someone help me diagnose the problem? laptop model: I: ...
6
votes
4answers
2k 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, ...