Questions tagged [pm-utils]

pm-utils is a suspend and powerstate setting framework. It is designed to replace such scripts as those provided by the powersave package.

32 questions
18
votes
3 answers

How can I automatically hibernate cloud storage servers?

I have cloud storage data centers running Ubuntu 16.04 LTS and NextCloud/OwnCloud that have no need to be available 24/7 and need power management solutions. Servers are Dell PowerEdge 1950 Gen II and Dell PowerEdge 2950 Gen II Overall…
Fab
  • 405
  • 1
  • 4
  • 14
10
votes
2 answers

Correct way to execute a script on resume from suspend

Ubuntu 20.04 I have done a number of searches for ways to execute a script or command on resume from suspend, and come up with several different methods for doing this, such as what is described here - none of which worked for me. The first method I…
Tracy
  • 397
  • 2
  • 12
6
votes
1 answer

Ubuntu 15.04 Suspend doesn't run `pm-suspend`

After upgrading to Ubuntu GNOME 15.04 (from 14.10), I noticed my pm-utils hooks in /etc/pm/sleep.d aren't running anymore on suspend/resume. I have a custom script which saves the brightness before suspend and restores it after resume. If I…
Sir_FZ
  • 390
  • 4
  • 15
6
votes
2 answers

Ubuntu 15.04, pm-utils do not look into /etc/pm/power.d/ anymore, what instead?

Since upgrade from 14.10 to 15.04 my custom script which I used to setup proper thermal profile mode for my laptop ceased to work, which I believe is because pm-utils do not respond to AC/BAT switching. Now, if that is new intended behavior of the…
dilettant
  • 463
  • 1
  • 5
  • 12
4
votes
1 answer

$TERM set to "dumb" causes problems with suspend

I've just upgraded from 11.04 to 11.10. So far I love it, everything seems just so much snappier. Now I just have one minor issue. When I try to suspend my laptop, it doesn't work - instead it fades out the screen, blocks it and then instantly wakes…
julkiewicz
  • 671
  • 5
  • 9
4
votes
2 answers

Have PM utils power.d scripts run all the time

The pm util power saving scripts only work when a laptop is on battery, not when it is plugged in to AC. Is there a way to make pm utils run all the time, regardless of whether the laptop is connected to a power outlet or not?
functionptr
  • 983
  • 1
  • 9
  • 23
3
votes
1 answer

Openbox - How to automatically suspend on idle?

Environment: Ubuntu 14.04 bare minimal + Openbox I have installed pm-utils. Specfically, pm-suspend works great on my laptop. However, I have to run it manually. I am wondering if there is a way to set Openbox to automatically suspend after, say,…
Peter
  • 483
  • 3
  • 7
  • 16
3
votes
3 answers

How can I make UPower and the power subsystem recognize that the power supply is plugged in?

I'm using Xfce4, and it has the xfce4-power-manager for visual cues and upower as one of the core support packages (and I see an /usr/lib/upower/upowerd running in ps aux output). Besides that there's also pm-utils installed, and in the logs I see…
Csaba Toth
  • 1,313
  • 4
  • 17
  • 29
3
votes
1 answer

Another question about Hibernate in 18.04 (not a duplicate)

I have a fresh install of 18.04 on a brand-new high-end laptop. Hibernate works using sudo pm-hibernate By "works" I mean that it saves the system to disk, and powers down. Upon reboot, the session is resumed at exactly the point I left, including…
Stewart
  • 498
  • 2
  • 5
  • 18
2
votes
0 answers

Power saving control of CPU

My notebok is Asus U36SD and I've upgraded from 12.04 to 16.04. There was the Jupiter program in Ubuntu 12.04 which was able to drastically change the computer performance - when set to powersave, the machine was notably slow, probably lowering…
pepa.dvorak
  • 121
  • 3
2
votes
1 answer

Set Ubuntu Server 14.04 to go into suspend-hybrid when idle

I have a headless server running Ubuntu Server Edition 14.04. I have tested pm-suspend-hybrid and it works. I am able to manually put the server into suspend-hybrid through command line. I am also successfully able to resume the server through WoL…
BrokenCode
  • 430
  • 2
  • 6
  • 17
2
votes
2 answers

how to make hibernate work on 14.04?

My Ubuntu is 14.04 on Thinkpad T400. I try to run the following command for hibernation: sudo pm-hibernate It flashes and then return back to normal. Running pm-suspend-hybrid also flashes and return back to normal. only sudo pm-suspend will…
Tim
  • 24,657
  • 62
  • 151
  • 245
2
votes
1 answer

Resume from hibernation (pm-hibernate) randomly reboots

I'm using Ubuntu 14.04 with Gnome as primary window manager (not Ubuntu Gnome, just installed Gnome after Ubuntu). I often tend to use pm-hibernate to get into hibernation, but when I boot again the resume sometimes, but not always, fails and the…
DanielB
  • 145
  • 1
  • 1
  • 6
2
votes
3 answers

Computer restarts instead of shutting down

My Ubuntu 11.04 will not shutdown when I tell it to; it will instead restart the computer.
Adriana
  • 21
  • 2
2
votes
1 answer

Suspend resume works, but unable to use computer

When I suspend and resume from suspend, I see my screen as it was left but cannot use it and Caps Lock does not work. When I run pm-suspend before loading X11, I am able to see my last command and to type onto the screen and make new lines, but I am…
1
2 3