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
1
vote
0
answers
657
views
Suspend not working in Ubuntu 22.04.01
I use Ubuntu 22.04.01 on a dual booted HP machine. Since the last week, suspend is not working. Everytime I close the lid, or suspend it using the gui option my laptop shuts down. Tried using pm-utils ...
1
vote
0
answers
154
views
Execute script after returning from power saving black screen
I've a issue with my external monitor losing the signal in Ubuntu 20.04. It doesn't happen using Windows 10.
I found a workaround here thanks to @user10489 So, I configured Ubuntu to execute xset ...
-1
votes
1
answer
6k
views
What is the difference between "systemctl hibernate" and "hibernate" commands?
I configured hibernate function by the instruction here for Ubuntu 20.04.
Then I tried systemctl hibernate and hibernate commands and both are working fine.
By description from man, help and because ...
3
votes
1
answer
3k
views
Why hybrid sleep mode(systemctl hybrid-sleep) has default of shutting down?
System Info
$ cat /etc/issue
Ubuntu 20.04.3 LTS \n \l
$ uname -r
5.11.0-27-generic
From the official document shown on http://manpages.ubuntu.com/manpages/groovy/man8/pm-action.8.html,
pm-suspend-...
1
vote
1
answer
2k
views
What causes hibernation image to swap file not getting loaded?
After setting up hibernation on my encrypted disk with LVM2 (standard ubuntu 20.04 Focal installation with encryption) it finally worked... once!
I installed pm-utils, uswsusp and hibernation packages ...
19
votes
2
answers
22k
views
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 -...
0
votes
1
answer
410
views
Suspend Resume on PC takes forever
I've recently installed ubuntu on my PC.
neofetch:
.-/+oossssoo+/-. me@My-PC
`:+ssssssssssssssssss+:` --------------
-+ssssssssssssssssssyyssss+- ...
3
votes
0
answers
213
views
Set pm-suspend as default
Because the command
systemctl suspend
doesn't work on my computer while
pm-suspend
apparently works correctly and the device enters sleep mode. I would like to make the last one as default, that is, ...
3
votes
3
answers
3k
views
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 ...
0
votes
1
answer
795
views
Hibernate (pm-hibernate using uswsusp) only works ONCE. Second time hangs, requires hard-reset
hopefully someone in this forum can enlighten me about what is causing my problem.
First off, I use Ubuntu 18.04 LTS with Kernel 4.19.8 (generic I guess?).
I installed pm-utils and uswsusp since ...
3
votes
1
answer
792
views
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 ...
2
votes
0
answers
1k
views
pm-suspend won't work with i3wm
I recently installed i3wm and I'm currently configurating it. But I'm looking for a way to suspend my computer, I found pm-suspend. The problem is that the command won't work. After executing sudo pm-...
1
vote
3
answers
6k
views
I can't make my Ubuntu 18.04 hibernate (I tried use both swap file and swap partion, nothing works)
As the title suggest.
I've already tried sudo pm-hibernate, sudo systemctl hibernate, sudo s2disk all of them did nothing and just freeze on input in the terminal, except sudo systemctl hibernate ...
2
votes
0
answers
194
views
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, ...
0
votes
1
answer
656
views
reboot on both resume on boot and wake from hibernation
I am on Ubuntu 16.04, when resuming by clicking on power button/ keyboard button/ opening the lid the laptop will restart, this happens on both linux and windows 10.
One of the speculation that I have ...