New answers tagged power-management
0
votes
How can I tell Ubuntu to do nothing when I close my laptop lid?
Adding an solution not previously listed:
For me, I want my laptop to stay on, but only when it's on A/C or docked. If there's no external power, I want the laptop to suspend as expected when the lid ...
1
vote
How to change lid close behavior to do nothing?
When you edited /etc/systemd/logind.conf did you remove the hash
(#) before the lines where you added "ignore"? – John Carter
I realized I did not, and it fixed my problem. Silly mistake ...
0
votes
Accepted
Ubuntu 22.04 freezes trying to enter suspend mode
My problem ended up being something related to Keybase, perhaps the same thing as this issue. After restarting the Keybase service (keybase ctl restart followed by run_keybase), the problem went away ...
0
votes
How to change lid close behavior to do nothing?
Use this command:
gsettings get org.gnome.settings-daemon.plugins.power lid-close-ac-action
If the printed reply is not nothing then use this command:
gsettings set org.gnome.settings-daemon.plugins....
0
votes
How to change lid close behavior to do nothing?
Edit this line in /etc/UPower/UPower.conf:
IgnoreLid
to be:
IgnoreLid=true
And then restart the Upower service by:
service upower restart
This seems to have worked for some people who were trying ...
1
vote
Ubuntu won't work after turning off from pressing the power button
The problem is with no session desktop files installed. To get the desktop sessions back, you can run the following:
sudo apt reinstall ubuntu-desktop
sudo apt reinstall ubuntu-session
I found the ...
1
vote
Shutdown Computer if UPS Battery is Low 22.04
I found the answer here: https://ubuntuhandbook.org/index.php/2019/07/change-battery-critical-low-action-ubuntu-18-04/
I know the link says 18.04 but has been updated for 22.04.
I'll summarize it ...
1
vote
Accepted
Why is my laptop screen dim after resume from screen-lock, sleep, or suspend?
I was able to solve my problem by switching from the open-source nouveau driver to the proprietary nvidia-driver-535. This can be installed from either the command line or through the GUI. I chose to ...
0
votes
Ubuntu 22.04 LTS screen blank does not respect settings
In the comments, the OP disabled the bad PPA ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu/jammy main and ran sudo apt-get update sudo apt-get dist-upgrade. dconf/gsettings didn't work. Now the ...
Community wiki
0
votes
Why is my laptop screen dim after resume from screen-lock, sleep, or suspend?
It seems like your Nvidia driver isn't remembering the backlight value even though your GNOME does. Let's work around this with a sleep hook:
Paste the following into /etc/systemd/system/nvidia-...
0
votes
Laptop goes to sleep right after boot with lid closed and external monitor connected
I was able to address this problem on my Thinkpad W520, running Kubuntu 22.04.4, by editing /etc/systemd/logind.conf as root:
sudo su
nano /etc/systemd/logind.conf
Uncomment and update the values for ...
1
vote
Intel CPU Cannot go deeper than Package C3 state in low power suspend (causing battery drain)
This question comes up often, and I do not think anything is actually wrong, nor is this the source of excessive power consumption.
For Intel processors, the idle state names are the default ACPI ...
0
votes
Power profiles and TLP conflict
If installing TLP from the Ubuntu release-specific official repositories, then removing it afterwords shouldn't result in what you describe ... However, installing it from a none-official unsupported ...
Top 50 recent answers are included
Related Tags
power-management × 2801battery × 794
suspend × 699
laptop × 363
shutdown × 226
hibernate × 180
18.04 × 163
20.04 × 153
16.04 × 147
14.04 × 127
dell × 98
nvidia × 96
12.04 × 89
gnome × 89
cpu × 85
22.04 × 85
usb × 79
lenovo × 77
acpi × 77
boot × 72
kernel × 71
xubuntu × 69
thinkpad × 66
overheating × 65
indicator × 64