Questions tagged [power-management]
Questions related to power management, particularly power saving measures.
2,802
questions
1
vote
1
answer
77
views
Kubuntu on XPS 15 does not recognize power disconnect
I installed Kubuntu 22 on Dell XPS 15 9520 and the laptop will not recognizes when I disconnect the power cable. It only reads "connected but not charging". So now It happned multiple times ...
2
votes
1
answer
4k
views
bbswitch unable to turn discrete graphics off
Laptop: Acer Predator PH315-52
OS : UBUNTU 18.04.2 LTS
Nvidia Driver : 418.87
Kernel : 5.0.0-37-generic
Processors : Intel UHD 630 and Nvidia 1660 Ti
bbswitch version: 0.8-4ubuntu1
bumblebee ...
1
vote
2
answers
348
views
Getting Stuck on Low Clock Frequencies
I have been using the Ubuntu 20.04 LTS for the past three months after dualbooting it with Windows 10, and recently it has started showing some problems.
I usually use my laptop(Lenovo Ideapad C340) ...
0
votes
0
answers
23
views
How to alter screen dimming routine on Ubuntu 23.10? [duplicate]
My Android cellphone did the same thing. It had a mode/routine that kicked on every night. Some power feature.I edited the timer to go off at 3am and all has been peachy on my phone.
Ubuntu is doing ...
0
votes
1
answer
195
views
terminal command to disable / enable "Automatic Screen Brightness" (Ubuntu 23.10)
For convenience's sake, I would like to set keyboard shortcuts to enable / disable "Automatic Screen Brightness" in the Power settings. Do such commands exist?
51
votes
7
answers
164k
views
Setting to High Performance
When I had Windows 8.1, there was a power option for "High Performance" which allowed higher performance at the cost of power supply.
Is there a way to set my power option to "High Performance" on ...
0
votes
0
answers
46
views
Change battery warning thresholds in Ubuntu 23.10 on Acer laptop
I'd like to change the battery warning threshold from default values (i.e. 5%) to custom values. I've read in another question that I should edit the /etc/UPower/UPower.conf and restart the upower ...
1
vote
0
answers
68
views
Ubuntu 20.04.6 LTS does not boot when on laptop battery
When my laptop charger is unplugged, I can't boot Ubuntu. I can enter BIOS, so battery has charge. Ubuntu starts to load, but after few seconds it shuts down. Also I tried to load to login screen with ...
17
votes
7
answers
17k
views
How to temporarily disable sleep and hibernate from the command line
It seems like there are many ways in which a Ubuntu's settings can be permanently manipulated to sleep when desired as long as predetermined conditions are met. However, these are more permanent ...
0
votes
0
answers
62
views
"Not Charging" after battery replacement
So, I replaced the old battery in my Acer Aspire laptop with a new one.
And it doesn't charge.
It was like this, at 0%, when I first turned on the laptop, even though I could use the laptop for like ...
0
votes
2
answers
594
views
How to configure additional CPU Governors on Ubuntu 22.04 with AMD p-state-epp Driver and GNOME 42.9?
I am running Ubuntu on the following platform:
OS: Ubuntu 22.04.3 LTS x86_64
Host: 82KV IdeaPad 3 17ALC6
Kernel: 6.5.0-14-generic
DE: GNOME 42.9
CPU: AMD Ryzen 5 5500U with Radeon Graphics (12) @ ...
0
votes
0
answers
47
views
How to stop Ubuntu from suspending due to inactivity?
When I leave my laptop unattended overnight, in the morning, it's always suspended, even though it's plugged in, which interferes with running processes.
How do I disable this?
Under Settings/Power, &...
8
votes
3
answers
22k
views
Keep a laptop running with closed lid
I am trying to keep my laptop running with the lid closed.
What I've done so far is:
In the file /etc/systemd/logind.conf add HandleLidSwitch=ignore both for docked and plain mode. This didn't do ...
0
votes
1
answer
1k
views
cpu usage is high under battery power ubuntu 18.04
I've noticed since the very 1'st day I installed ubuntu 18.04 my battery life surprisingly reduced.so I checked system monitor. I noticed that only one of my CPU core is always run on high usage while ...
0
votes
1
answer
106
views
Differentiate power modes when plugged-in vs on-battery
The native power settings on Ubuntu 22.04.3 are as follow:
Is there an easy and native way to differentiate those settings between a plugged-in mode or an on-battery mode (and especially the time ...
14
votes
3
answers
7k
views
How to turn off Nvidia GPU on a headless server?
I am running a headless server with an Nvidia GPU.
Even when the GPU is not doing any work, it is consuming about 25 Watts of power:
+------------------------------------------------------------------...
3
votes
2
answers
3k
views
Laptop battery high/low alarm
My laptop battery didn't last half as long as I had hoped and it is an internal one. That is, it is very inconvenient to replace. I would like my replacement battery to last as long as possible, and ...
9
votes
4
answers
12k
views
How can I keep the computer awake, depending on activity?
I would like to be able to keep the computer awake during certain activities and longer running tasks, such as downloading larger files and watching full screen videos.
I like using Caffeine to keep ...
5
votes
1
answer
8k
views
When laptop lid is closed, the desktop switches to external monitor (Ubuntu 20.04 Gnome)
Instead, I want my laptop to suspend when the lid is closed (this is the behaviour currently if no external displays are connected)
The exact same question has been asked here - 16.04 - When laptop ...
1
vote
0
answers
159
views
Performance mode disabled because of false positive reading
I'm running Ubuntu 23.10 and for some reason, I'm seeing this message because the operating temperatures are too high:
Performance mode temporarily disabled due to high operating temperature.
This ...
0
votes
0
answers
437
views
How to enable suspend-then-hibernate when hibernate works in 23.10
In 23.10 systemctl suspend-then-hibernate results in
Call to SuspendThenHibernate failed: Sleep verb "suspend-then-hibernate" not supported
but systemctl hibernate works just fine and as ...
1
vote
0
answers
138
views
USB-C Power Delivery can charge only at 65W even though the adapter is 100W
I am using 100W (20 Volt * 5 Amps) power delivery over USB-C to charge my laptop. When I write the sensors command this is what I get:
ucsi_source_psy_USBC000:001-isa-0000
Adapter: ISA adapter
in0: ...
2
votes
1
answer
4k
views
Failed to suspend system via logind: Sleep verb not supported (16.04)
After switching from MBR to GPT and updating grub (possibly overwriting my previous configuration, possibly unrelated, but that would be a strange coincidence) on my desktop computer I can no longer ...
0
votes
0
answers
64
views
Power management issues
I'm writing to you because I'm having problems with the battery on my computer.
Let me explain: when I plug in my computer, sometimes it recharges and the battery goes up... sometimes it stays at 0% ...
24
votes
7
answers
14k
views
Prevent machine from sleeping when SSH connections are on
I am trying to save power by switching desktops to suspend mode when they are inactive. But many desktops are also accessed via SSH by their owners. There is a wakeonlan solution deployed to enable ...
0
votes
0
answers
57
views
Screen Rotation Issue on Ubuntu 23.10 with MSI GE70 and GTX760M
I'm currently facing an issue with my MSI GE70 laptop running Ubuntu 23.10, equipped with a GTX760M graphics card. Whenever I disconnect the laptop from power and switch to battery mode, the screen ...
0
votes
4
answers
10k
views
Ubuntu server - How do disable sleep when laptop screen is closed but allow screen to shut off
I have a dell laptop that i just installed Ubuntu server 18.04 LTS on, and that i'm using as a Plex / TVHeadend server. I'd like to stop the laptop from going to sleep when the lid/laptop screen is ...
0
votes
1
answer
149
views
laptop stays stuck at battery icon even when connected to wall plug and charging
TLDR!
What is the component that displays the battery icon vs charging icon in the top right part of screen, as well as the percentage charged?
Asking, so as to determine why this part is not ...
1
vote
0
answers
195
views
How to show low battery warning message/notification on GNOME/Wayland/Ubuntu 23.10?
On a current Ubuntu with Wayland/GNOME, when my battery is low the battery indicator on the top right goes red. On my previous laptop I had Ubuntu/X/GNOME, and a popup notification used to appear ...
5
votes
4
answers
1k
views
Laptop doesn't wake from sleep Ubuntu 21.10
A few months ago I installed Ubuntu 21.10 on a Lenovo Yoga 6. Within the last couple weeks the laptop no longer wakes from sleep and I have to hold the power button to shut it down and reboot.
How can ...
4
votes
1
answer
2k
views
Laptop charging is not recognized by Ubuntu 22.04
After setting up my Asus laptop after Ubuntu installation; I noticed that in the top panel it is not showing laptop is getting charged! There is a notification LED on my laptop that will blink if I ...
5
votes
5
answers
3k
views
How to turn off the screen in Ubuntu 17.10?
xset dpms force off doesn't work, outputting:
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 147 (DPMS)
Minor opcode of failed request: 6 (...
0
votes
1
answer
172
views
Clevo NS50AU suspend mode issue with keyboard and power led
I've just acquired a Clevo NS50AU with "i7-1360P" cpu powered by Ubuntu 22.04 and kernel 5.15
When in suspend mode :
The keyboard remains illuminated
The power led does not blink
I've ...
1
vote
0
answers
306
views
Ubuntu 23.10 consume lots of energy in sleep mode comparing to windows 11
If i use windows 11 and suspend my computer, it almost dont consume energy.Even many hours after. Unlikely ubuntu 23.10 that consume energy. I did the experiment twice.
I have AMD Ryzen™ 5 5500U with ...
0
votes
2
answers
1k
views
How do i enable a timed laptop screen power off from the console?
I have logind.conf set with handlelidswitch=ignore etc..., this is working great. But the screen stays on permenantly as the system never sleeps.
How do i switch off the built in laptop monitor ...
0
votes
4
answers
6k
views
Lenovo Battery Conservation mode fail
I've been trying to get battery conservation mode to work by doing the below, but ultimately I have been unable to get the setting to change from 0 to 1
Running kernel 5.11.0-37
Tried previous posted ...
0
votes
0
answers
25
views
indicator-cpufreq unable to choose powersave
I'm on Lenovo G50 laptop, Lubuntu 22.04. I installed indicator-cpufreq.
When I run it (I'm using i3) I'm unable to switch it to powersave.
It always switches back to performance.
Can I fix it?
0
votes
0
answers
27
views
Cannot suspend UbuntuStudio
Environment
Ubuntu Studio 22.04
Thinkpad E14 Gen5
Problem
Cannot suspend UbuntuStudio.
I executed the following steps.
Press the power button and try to suspend
The screen turns off, but the login ...
0
votes
0
answers
43
views
New PC not turning screen on with keyboard, only mouse movement Kubuntu 22.04
I have a new pc I recently purchased and installed Kubuntu 22.04 to rid myself of windows. everything works fine other than for whatever reason when the screen turns off after a few minutes of no ...
0
votes
0
answers
270
views
Ubuntu 22.04 freeze. Does not come back from suspension
For a while now, I've experienced a recurring issue where I stop using my laptop, close the lid (putting it in suspension), and when I reopen it, it doesn't wake up from suspension and doesn't respond ...
13
votes
5
answers
7k
views
Alarm clock from suspended mode
I want my laptop to wake up from suspended mode in the morning and alarm me to wake up using my mp3 file.
How do I do it?
I tried apmsleep, but it doesn't work cause my PC doesnt have "suspend to RAM"...
-1
votes
1
answer
61
views
Having trouble avoiding wakingup immediately after suspend
I am using Ubuntu 22.04.3 LTS. I have to disable some event to avoid an immediate wakeup after suspend in my laptop,for instance; the active ones are listed below at /proc/acpi/wakeup. At @waltinator '...
0
votes
0
answers
56
views
Set screen blank and suspend timers on certain times on ubuntu 22.04
I would like to have several configurations about screen blanking and suspend times based on the time of the day and day of the week so, from 9 to 5 on weekdays, the screen stays on and the computer ...
2
votes
0
answers
293
views
Estimated battery stuck in 100% while discharging
So, my estimated battery charge remains since yesterday at 100% while the remaining time reads 135 hours and 19 minutes.
I wish it was true, but I'm pretty sure it wont last that long.
I've been ...
0
votes
0
answers
107
views
Ubuntu wakes from suspend immediately
I've just recently gotten Ubuntu and have a problem with the suspend state. Whenever I put my PC into suspend, it will wake itself just 1 second later. I've already looked around and figured out that ...
0
votes
0
answers
182
views
Creative Sound Blaster X4 stays on (LEDs lit up) after laptop shutdown on a powered usb port
I have the following setup:
A dual-boot windows-11/kubuntu-23.10 laptop.
Razer Core X Chroma eGPU connected via a thunderbolt 3 port.
Creative Sound Blaster X4 (and some other peripherals) connected ...
1
vote
0
answers
106
views
How to solve problems arise from switch off a lubuntu system before the bootstrap is finished?
I have a system with lubuntu 22.04 installed. The system must be switched off brutally without a software shutdown.
Sometimes the system is switched off before the bootstrap process has finished. In ...
0
votes
0
answers
34
views
Stuck on Boot After Changing Suspend Behavior 22.04.3 LTS
I'm new to Linux, I have dual-booted Ubuntu 22.04.3 on Dell XPS, and everything worked great, but I found out that the battery drain was too high on suspend mode. I found some articles and made the ...
0
votes
0
answers
52
views
Ubuntu 20.04 LTS freeze after leaving power on overnight
For the last 4 days my machine on the workplace keep freezing after I leave it on overnight (I only lock the screen, not sleep/hibernate). The power still on, fans running, num lock is freezing, ...
33
votes
5
answers
65k
views
How do I check if last shutdown was clean?
How can tell that my last shutdown was properly done in Ubuntu 11.10 or if the machine was powered off before shutting down the OS?