Questions tagged [power-management]
Questions related to power management, particularly power saving measures.
2,771
questions
0
votes
0
answers
21
views
Battery usage with MacBook Air
Currently running ubuntu with a macbook air 6
Running into a problem though with the battery. I've managed to lower the overall usage (see outputs) especially when idle, but there is still 50 C plus ...
0
votes
0
answers
16
views
After Upgrade to Ubuntu 22.04.3 LTS, Laptop No Longer Shows When Plugged In
I recently updated to Ubuntu 22.04.3 LTS, from 18 with a brief time on 20. I don't recall if this problem showed up under 20 but I only noticed it under 22.
I have noticed that the indicator in the ...
0
votes
0
answers
30
views
Unable to resume from suspend due to zsh as default shell - why?
I've been bothered by a problem where my workstation won't resume from suspend. When the PC is powered the power button is fully lit, and when it's suspended the button is blinking. Pressing the power ...
4
votes
1
answer
88
views
How can I turn off a USB Lamp in Ubuntu?
I bought a USB lamp that I want to turn ON/OFF using commands (my purpose is to setup some CRON jobs to turn it ON at certain times).
I researched several answers, but none worked.
I tried outputting ...
0
votes
0
answers
28
views
22.04 waking up from sleep issues on Malibal Anon
I have a malibal aon s1. It is a pretty nice lightweight laptop, however I am running into issues with sleep. I am so confused on why the laptop will go to sleep but won't wake up, this was working ...
1
vote
0
answers
12
views
Laptop charges normally on windows but inconsistently on Ubuntu
I recently installed Ubuntu on my HP Envy laptop and for whatever reason, it charges completely normally on Windows but when I switch to Ubuntu, the charging becomes very sporadic. It randomly starts ...
0
votes
0
answers
22
views
Macbook 2010 running Ubuntu - no battery - how do I have it automatically restart after a power failure?
I have a Macbook Pro running Ubuntu from 2010. Since its Lithium Ion battery was swollen, I removed the battery and now have it running from a UPS - uninterrupted power supply.
Sometimes, the power ...
0
votes
1
answer
30
views
Remember /sys/power/mem_sleep setting after reboot
I had this solution for the question Macbook takes 20 seconds to wake up where I had to run echo s2idle | sudo tee -a /sys/power/mem_sleep in order to set /sys/power/mem_sleep to [s2idle] deep
But ...
0
votes
0
answers
25
views
Wi-Fi problem on Asus Laptop
My laptop sometimes loses the Wi-Fi signal. I had basically thought it does because of low battery and changing a power profile, but I understood over time the problem appears when my laptop even is ...
1
vote
1
answer
127
views
C-states not fuctioning on Ubuntu Server 22.04. Please help
I’m putting together a home server running Ubuntu 22.04 LTS and I’m having a hell of a time with the c-states. Current power draw of the system is 33 watts but I’d like to lower that as far as ...
0
votes
0
answers
24
views
Why my mouse and keyboard doesn't work once I unplug the charger from my laptop?
I have Ubuntu 22.4 on an Asus MA515DA with 8 GB of RAM and a VEGA 8. I bought it a year ago and, as soon as I got home, I installed Ubuntu. Since back then, once I unpluged or pluged the charger, any ...
0
votes
0
answers
18
views
Laptop won't power-off, suspend, or hibernate
HP ProBook 640 G2 running Xubuntu 22.04.3LTS. Had to replace keyboard because several keys stopped working. New keyboard works fine, but now I can't power-off, suspend or hibernate. Any of those ...
0
votes
0
answers
56
views
Suspend/Hibernate not working in Ubuntu 22.04
Suspend/Hibernate is not working. Basically, when I suspend/hibernate, it just turns off my laptop screen, waits for 2-3 seconds, and turns it back on. (For hibernate, I have a large enough swap file, ...
0
votes
1
answer
140
views
Why does sleep mode revert to s2idle when I set it to deep?
My laptop's battery drains very quickly from time to time. I found out that it was due to the sleep mode that was set to s2idle instead of deep:
$ sudo cat /sys/power/mem_sleep
[s2idle] deep
I then ...
0
votes
1
answer
53
views
How to remove settings of TLP?
I haven't yet figured out how to get TLP working nicely on my Ubuntu Thinkpad, as I had to scrap the broken battery the other day and replace it with a new one.
I've got my new battery in place now, ...
1
vote
1
answer
81
views
cpufreq-set not taking effect on fixing CPU frequency on ubuntu 20
I need to set a fixed frequency on my CPUs for a research project.
I'm using Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-155-generic x86_64) and an intel CPU Xeon W-2155 3.3GHz.
I'm trying to use the ...
0
votes
0
answers
145
views
how to disable GPU's ULPS (Ultra-low power state) feature?
Since 2011, AMD has an ULPS (Ultra-low power state) feature in its GPUs also marketed as "AMD ZeroCore Power" technology.
https://en.wikipedia.org/wiki/Graphics_Core_Next#ZeroCore_Power
At ...
4
votes
1
answer
287
views
Obtaining current total power consumption
I am running Ubuntu 20.04 on ARM board (aarch64). I want to log total power consumption every 5 seconds. I tried several tools.
Powertop
I tried running powertop command. It outputs something like ...
0
votes
0
answers
16
views
How to solve battery power only updated on boot
I use Lenovo Yoga and installed Ubuntu. So I find that my laptop battery isn't accurate. I have used it for some times and it show 95%. But when i reboot it, it shows 60%. I put it on charge and it ...
1
vote
3
answers
1k
views
Why are new writes to files not surviving a power loss
I have a similar type of issue to: Raspberry Pi: Filesystem writes files, but after reboot the old data is back but not quite the same.
I am using Armbian_23.02.2_Orangepizero_jammy_current_5.15.93 ...
0
votes
0
answers
28
views
Keep suspended on lid closed
I have a lap top with Ubuntu v22.10 Mate v1.26.0
When I close the lid it suspends, but then regularly wakes up again without opening the lid (which can lead to a very hot bag, and a drained battery)
I ...
1
vote
0
answers
22
views
Make LidSwitch suspend *with* external monitor connected in 22.04
There are lots of confusing discussions out there related to these settings in logind.conf
HandleLidSwitch
HandleLidSwitchExternalPower
HandleLidSwitchDocked
LidSwitchIgnoreInhibited
Most people seem ...
0
votes
0
answers
21
views
How to check system power logs and confirming system is going into modern standby/S0?
I need to confirm whether the system is going into modern standby /S0 state with the help of event logs, I have tried journalctl command for checking the logs but for standby and Moderstandy it was ...
3
votes
2
answers
698
views
Ubuntu 23.04 suspention or sleep doesn't wake up after power again the system or can not login(and still not working)
If i suspend ubuntu 23.04 on my lenovo laptop, when i wake up again from suspention,the login menu appear but i cant login and it seems buggy, or the screen remain all black, and either way i cant ...
0
votes
0
answers
30
views
laptop gets power off when unplugged and not charging
Some days ago i just turn the Lid down on my hp laptop after work and after two days i tried to power on my laptop, then i saw laptop was completely discharged. After that i just plugged in the AC ...
1
vote
0
answers
111
views
The battery drains when the laptop is turned off
When I turn off my laptop using the terminal with the command sudo poweroff -f there are no battery discharge issues. When I turn off my laptop using GUI the laptop battery continues to drain.
HP ...
2
votes
1
answer
480
views
Ubuntu server 22.04 suspend issues
I'm running a headless Ubuntu server as a media server. As I only rarely need access to the data, I'm suspending the system when it's idle. The command systemctl suspend is used to suspend the system.
...
1
vote
0
answers
94
views
TLP Charge Threshold Configuration on Lenovo IdeaPad
Kubuntu 23.04
Lenovo IdeaPad (not ThinkPad) 3 15ALC6
Hey, I'm trying to configure TLP to start charging when the battery reaches 50% and stop when it reaches 80%. I just want to make sure I'm doing ...
0
votes
0
answers
14
views
After dim screen it doen't turn on back
I noticed this problem the first time on a new laptop, on which I installed kubuntu 22.04. I unplugged the power cord and after 5 minutes of inactivity the screen went out. Then I found the ...
0
votes
0
answers
16
views
Machine does not power up with keyboard or [wireless] mouse movement
This machine s Lenovo Desktop H535 Logitech K360 with wireless mouse.
1
vote
0
answers
78
views
How to solve problems arise from brutally switch off of a lubuntu distribution?
I have a system with lubuntu 22.04 installed. The system must be switched off brutally without a software shutdown.
Sometimes when the system is switch on the bootstrap process is interrupted and ...
0
votes
0
answers
40
views
Which package or packages are needed to charge a laptop battery?
I have an Ubuntu 22.04 system on an HP 17 laptop. When the laptop is plugged into the charger, it does not charge (nor does it discharge). When I mouse over the battery indicator in the system tray, ...
0
votes
0
answers
48
views
Dell Optiplex 5050 and 3020 MFF Power Adapter
First some background:
I picked up one Dell Optiplex 5050 and two 3020 MFF desktops, without power adapters. They were super cheap and figured why not? I looked at Dell's website, which is selling ...
0
votes
0
answers
39
views
Ubuntu reboots after shutting down AND does not let me turn the machine back on afterwards
Ok - so, I am seeing some very weird behaviour from my PC, specifically after installing Ubuntu.
The first thing is:
Whenever I shut down via Ubuntu, it instead reboots, bringing me back to the GRUB ...
2
votes
1
answer
105
views
How do I disable my laptop battery?
I got a look at my laptop battery when it was opened for service and it was dangerously swollen. I didn't know the reason for the crack near my touch pad until I saw the battery. I don't want to ...
0
votes
0
answers
124
views
PCI USB Controller: Suddenly Unable to change power state from D3cold to D0
I have a USB controller that gives me additional USB3 ports. It is plugged into a PCI slot. This thing worked for several years and it still works under Windows, however, suddenly, I get a
pcieport ...
2
votes
0
answers
98
views
Extreme packet loss on wifi only when laptop is charging (plugged in)?
I have an MSI laptop with Ubuntu 22.04.2 LTS Wayland installed, that I've used for years.
The last few weeks, I connected to some new guest wifi networks, one of which I've revisited periodically. I ...
0
votes
2
answers
419
views
nvidia enforced power limit stuck to 45W
Nvidia enforced power limit is set and not exceeding more then 45 Watts on Ubuntu 22.04, how can I change it?
==============NVSMI LOG==============
Timestamp : Sun Jun ...
0
votes
1
answer
47
views
Ubuntu 22.04 laptop sudden shutdown after full charge
So I recently removed windows 11 and installed ubuntu 22.04 on my laptop (lenovo ideapad flex 5 with amd ryzen 7) after i had sudden shutdown issues even though battery was full at times. Now this ...
0
votes
0
answers
87
views
How to prevent thinkbook 16 laptop from underclocking and staying at low temperature?
Recently I have purchased Lenovo Thinkbook 16 G5+ IRH with Intel i7-13700H processor.
While I was stress testing CPU on AC, its frequency reached 4.0GHz for a short time and hit 90C, and then it ...
1
vote
0
answers
61
views
Battery problem not charging but detected charger(pending-charge state)
I am using ubuntu 22.04 LTS. Battery charging percentage is showing 21% still when I am connecting with charger it is not showing charging instead of that it's showing not charging. Here is the output ...
0
votes
0
answers
14
views
How can I set my Ubuntu menu to never have the "Power Off / Log Out" section collapsed?
When I click into the menu in the top right corner, I want to see the Power section already expanded like this:
...instead of this:
0
votes
0
answers
22
views
My laptop doesn't charge after plug back the charger AC
After last update 22.04.2 LTS (3 days ago), i found my laptop doesn't reconzise, when I plug back the charger (AC no USB-C). I realize if you restart/shut down or suspend you laptop with the charger ...
0
votes
1
answer
61
views
Battery drain in Dell 5420 Ubuntu 20.04
I am using a Dell Latitude 5420 laptop with ubuntu 20.04 for a year. The battery drains out in around an hour or so. Most of the time I have to restart the laptop because power runs out very quickly. ...
2
votes
0
answers
215
views
Influencing USB-C/thunderbolt charging with Power Delivery
I have a laptop which can in principle charge via PowerDelivery on the USB-C/Thunderbolt port. It reliably charges via its thunderbolt 4 port when it is off or suspended.
Otherwise, I noticed that it ...
0
votes
1
answer
124
views
How to set power saving settings in Ubuntu Server?
After about 10 minutes my monitor turns off, am wondering if I can set it to 30 minutes? I am on Ubuntu server with no GUI, just terminal.
I found a tutorial that completely turns off power management:...
0
votes
0
answers
51
views
Device turns off when not plugged in?
The Laptop only turns on when plugged in,
always shows 0% and turns off when I pull out the power plug. No matter how much time I charge, It always shows 0%.
It shows "Estimating..." instead ...
0
votes
1
answer
49
views
Manually block sleep and screen locking - Suspend Problem
On Kubuntu 22.04
In the Battery and Brightness settings in the taskbar I have the following options and wonder what is the purpose:
(unticked): “Manually block sleep and screen locking.”
“Activity ...
0
votes
0
answers
92
views
Idle power consumption increases after kernel 6.1.0.0.8 by 10-12Watts
I have noticed, that my computer, which I put together myself and I can give very specific details about it but I wanted to ask about the problem first.
My computer in question is a Gigabyte Aorus ...
0
votes
0
answers
26
views
Ubuntu 22.04 suspends when un/plugged and spontaneously
I love Ubuntu and I'm very grateful it exists. But once in a while I feel thrown back to the stone ages and want to stab my laptop in the face. I've finally upgraded to 22.04, now the laptop seems to ...