Questions tagged [power-management]

Systems to manage power consumption, such as system suspension and hibernation, CPU speed adjustment, disk spindown, battery usage monitoring, …

0
votes
2answers
29 views

Customize xfce suspend command

Is there a way to change the command executed by xfce4-power-manager when it wants to suspend? I assume it runs xfce4-session-logout --suspend, but I would like it to run xfconf-query -c xfce4-power-...
0
votes
1answer
17 views

Linux Mint: lower screen brightness on low battery

I'd like to make screen brightness lower on low battery. There's no such options in power settings. Alternatively, I may set the system to shut down in such situation, but that's undesired. Is there ...
0
votes
0answers
5 views

BMC executed 'ipmitool power soft' but host has no reaction

In my understanding, OS seems to need to install ipmitool ( I am not sure ) to receive this command from BMC (? or OS don't need it ?), but I am not sure which package. When BMC send 'ipmitool power ...
2
votes
1answer
25 views

/dev/ttyACM0 not added upon resuming CentOS VM

I'm running CentOS v.7.5.1804, Kernel 3.10.0-862.el7.x86_64. Host machine has a USB dongle mapped to /dev/ttyACM0 on the guest VM. Upon running systemctl suspend and resuming the VM, /dev/ttyACM0 ...
1
vote
0answers
12 views

wowlan prevents all sleeping

I'm trying to get my desktop configured to have wake-on-wireless-LAN working. I've turned it on with: > sudo iw phy0 wowlan enable magic-packet and I can confirm that it's enabled: > iw phy ...
0
votes
0answers
11 views

With XFCE power manager, how to turn both monitors asleep instead of one monitor?

I'm using an ArchLinux with XFCE, and I encountered a problem. I have two monitors, and I want both of them to be turned off when I am away from PC for X minutes. But it seems like only my primary ...
5
votes
5answers
8k views

NMI received for unknown reason 20 — Do you have a strange power saving mode enabled?

I am using Debian GNU/Linux 7.8 (wheezy). While running my MATLAB program today, I got this message in terminal. Message from syslogd@sas21 at Jul 18 16:40:49 ... kernel:[1747708.091929] Uhhuh. NMI ...
1
vote
0answers
19 views

X1 Carbon Battery drains on suspend

I typically suspend my laptop between sessions to save battery without powering off fully. I have a new 2019 Lenovo X1 Carbon, running Manjaro Linux 5.2.0-1 and when I suspend my machine with ...
1
vote
0answers
66 views

Automatic suspension no longer works after 'systemctl mask sleep.target' + 'systemctl unmask sleep.target'

My laptop is running KDE on LinuxMint 18.3. Automatic suspend was working so far. KDE version is 5.8.9, Framworks version 5.36.0. QT version 5.6.1, kernel version 4.10.0-38-generic. In the Energy ...
1
vote
1answer
1k views

How to disable Wifi Power Save on Kali Linux

I am running kali with virtualbox and my wifi receiver is a usb adapter which is Asus N10 Nano. I made the settings on virtualbox for making the vb recognize my usb wifi adapter. It works but after ...
1
vote
1answer
2k views

Computer won't wake from sleep after suspend [xfce, debian testing]

So, ever since I switched to xfce, I have been having some issues with suspending my system. My system wakes from sleep normally most of the time, but every once in a while, my computer will turn on, ...
0
votes
1answer
900 views

How to switch power save mode between PS Poll and UAPSD (WMM) modes in CLI?

I'm trying to figure out if there are any chances to switch on/off U-APSD power save mode at my laptop. Currently I found a command to switch power save mode on/off: root@host # iw dev wlan3 set ...
11
votes
1answer
2k views

Lenovo T440s battery status unknown, but charging?

I'm trying to configure my Lenovo on arch linux. The last thing I need to do is get the battery 100% working. Right now it appears that the main battery's state is unknown: ...
1
vote
1answer
2k views

ASUS ZenBook - Battery is never fully charged

I have installed Linux Mint 18.2 Cinnamon (kernel: 4.10.0-32-generic) on my new ASUS UX430UA notebook. However, described behavioral was also found on other ZenBooks and other used OSes like Linux ...
1
vote
0answers
17 views

KEEP backlight off + LCD on with cursor/keyboard input

I'm trying to keep my backlight off but the LCD on even though inputs are coming from the keyboard and/or trackpad. I'm working on an Asus Aspire One running Linux Mint (32bit). I've just installed ...
1
vote
1answer
35 views

powertop shows significantly more than 100% “C0 active” - isn't this impossible?

I ran a process which uses 100% CPU: stress -c 1. In powertop, the "Idle stats" tab shows about 120% "C0 active" for the busy logical CPU. By contrast when turbostat is used, turbostat --show Busy% ...
1
vote
1answer
143 views

Manjaro KDE does not redraw the screen unless forced to after it falls asleep

I recently installed Manjaro KDE on my machine and from what little I've seen I'm liking it so far. My one complaint is that recently, after the screen falls asleep and wakes back up (i.e. leave the ...
0
votes
1answer
92 views

AC power connection not recognized, but battery doesn't drain

Just bought a new laptop acer predator helios 500 with AMD Ryzen CPU. Installed linux with a recent kernel (4.19) and it seems it’s not able to detect when the power cable is connected to the laptop. ...
4
votes
1answer
473 views

How to measure power consumption of a USB device?

It has been asked how much power a port can deliver, but I do not need that. I need to get the power consumption of a plugged-in device in real time. This question was left unanswered on Stack ...
1
vote
1answer
879 views

How to give more power to a USB device (error -110)?

I’m trying to mount an external hard drive (2.5", USB, no separate power supply) on Debian 7, but it gives me (in dmesg as well as when trying to boot with the device connected) errors like: device ...
1
vote
1answer
67 views

Laptop does not enter suspend state when lid is closed

I installed Manjaro 18.0.4 (Gnome) on my Lenovo P50. After setting the NVidia graphics card as the primary card and removing all drivers for the onboard intel GPU, the laptop does not suspend when I ...
1
vote
1answer
697 views

Does Powersave Mode on the CPU saves power?

I use indicator-cpufreq with Cinnamon to control my CPU-usage and save power, as my battery life has been running low. So, I use indicator-cpufreq to put my CPU in powersave mode. However, I have this ...
1
vote
2answers
1k views

Turn on Webcam Device with Command

I have a problem about using webcam from terminal. My notebook is MSI GE60 2PC Apache, and my OS is Debian 8 Jessie. When I press FN+F6, my webcam turns on and I can use webcam with cheese ...
8
votes
2answers
698 views

Linux kernel 3.3 power regression

I am using Fedora 16 in my DELL n4110. I recently upgraded the kernel from 3.2 to 3.3. In contradiction to the official claim, my system still drains battery as hell. It only provides 1:30 to 2 hrs of ...
2
votes
5answers
9k views

Ubuntu 12.10 Fan overspeeding

I have installed Ubuntu 12.10 leaving Win 7 licensed version. But again as usual I need to fix so many issues. This time fan is generating lots of noise. It looks it is running at max speed. My ...
1
vote
0answers
23 views

Is there a power manager for text consoles?

I use XFCE on my laptops. When I'm working inside X11, xfce4-power-manager works well, and the system goes to sleep after 15 minutes of inactivity. But when I switch to a Linux text VT (i.e. by ...
17
votes
3answers
58k views

How to Reset/Cycle Power to a PCIe Device?

I have a PCIe device that only works correctly when the computer is fully powered off then on again. Issuing a simple reboot or reboot -p command does not appear to cycle the power to the PCIe card, ...
0
votes
0answers
49 views

Switch to second (build in) laptop battery if capacity is under 20%?

I got my new Lenovo T480 laptop which has two batteries: one internal and one external. The used Linux is Arch Linux. If I use the battery the behavior is that the first battery is used down to 5% ...
3
votes
2answers
10k views

CentOS 7 cpupower not setting the CPU's to maximum

On my machine, i have power savings disable on the BIOS. When I run Ubuntu on this machine, the CPU's are running maximum at 2100 MHz. However, when I'm running CentOS 7, even with the scaling ...
0
votes
1answer
40 views

Power off video card until reboot from command line?

I have "headless" machine with video card, I use very rarely, only if I want physical access to it. The cooler of this video card became old and started to produce bad noise. Can I disable this video ...
1
vote
2answers
167 views

Prevent usb pen drive power down while suspend

I have problems with resuming normal operation after suspending when booted from live USB pen drive (XUbuntu 16.10). I figure it's because the USB is powered down and the drive can't be connected ...
15
votes
3answers
9k views

upowerd consuming 100% cpu

upowerd is consuming nearly 100% of CPU. I am currently affected by this issue on both a Lenovo Thinkpad E520 and on a desktop PC running Core i7 and Asus Z170a motherboard. Both run Kubuntu 15.10. ...
13
votes
7answers
16k views

Screen turns on automatically (xset dpms force off)

I am using xset dpms force off to manually turn my screen off to save power. However, it turns back on after some time (20 - 40 seconds). Distro: Ubuntu-Lucid Graphics: Intel 4500 MHD Trying ...
13
votes
3answers
14k views

Shutdown my (backup) hard disk on Linux when I don't use it

I have a hard disk in my computer that I use to make backups of my data. I do not use this disk otherwise. How can I stop this disk from spinning once my backup is finished? Also how would I make it ...
0
votes
0answers
216 views

KDE: Power management configuration module could not be loaded

I use KDE 5.15.3 on the latest KDE Neon, and recall this problem happened with Linux Mint 19 + an older version of KDE (don't recall which) as well. Intermittently, after booting I don't have the ...
3
votes
1answer
100 views

How can I minimize damage when programmatically cutting power before a proper shutdown? [closed]

Situation The computer (running Ubuntu 14.04) is connected to a networked device which controls the power supply to the computer itself. On receiving a certain signal A, the computer must send a ...
3
votes
1answer
484 views

X11 - How can I determine what is preventing DPMS from suspending my display?

[Note: Noticed a similar question but it never received a response.] I am using i3 on archlinux. I have setup DPMS to suspend my display after 2 minutes of inactivity (xset dpms 0 120 180). However, ...
2
votes
0answers
500 views

Power button not shutting down system on embedded system (i.MX6)

I can't get the power button to gracefully shutdown the OS. My kernel has no configuration options for acpi, and acpid gives me the following error: root@seco-uq7-dl-256mbx4:~# /usr/sbin/acpid ...
2
votes
0answers
69 views

My laptop AC adapter is not found when plugged in

Three different Linux OS installed on my Acer Predator Helios 500 PH517-61-R0GX say the AC adapter is "off-line". Unplugging and re-plugging does not change the status. My laptop thinks it is on ...
0
votes
1answer
167 views

“Dim screen when inactive” purpose?

In gnome-control-center’s power saving settings there are amongst others: a “Dim screen when inactive” toggle a “Blank screen” drop-down list However “Dim screen when inactive” does nothing. As long ...
2
votes
3answers
103 views

Who turned on my Ubuntu box?

I have turned off my Ubuntu PC with sudo poweroff. After several days I found it is running back. How to know, which event turned it on? Computer has no keyboard and mouse attached, and power button ...
0
votes
0answers
34 views

How can I stop suspend mode from draining my battery?

My battery drains completely after about 8 hours of sleep in suspend mode. It seems a lot like this bug, from the Lenovo forums. I've tried changing the sleep mode to "deep," but then it doesn't wake ...
0
votes
0answers
47 views

Ubuntu 16.04.5 Ruining Monitors By Never Turning Them Off

I've seen, on two occasions, where Ubuntu 16.04.5 has completely ruined laptop monitors by never turning them off. These were laptops my Uncle owned, where he left them on all the time. I'm now ...
0
votes
0answers
44 views

linuxmint 19.1: power button inserts letters (works fine on linuxmint 18.3)

I recently did a clean install of LinuxMint 19.1 (MATE edition) on my laptop. Since then, pressing the power button inserts a long row of dddddddddddddddddddddddddddddddddddd until I press it again, ...
1
vote
1answer
1k views

Controlling USB-C Power Delivery on a HP ProBook G5 laptop

Question: I want to look at parameters under /sys/class/typec, but on my laptop, this doesn't show up. When I load the typec module manually, the directory appears but it is empty. After loading tcpm ...
0
votes
0answers
9 views

Linux LXDE - Power Management app doesn't work

When I open Power management application, I get error "invalid desktop element „/home/username/.local/share/applications/tlpower.desktop”. Any ideas?
0
votes
1answer
1k views

Battery indicator problems after installing and uninstalling kubuntu-desktop package on Xubuntu 15.04 x64

A few weeks ago, I decided to get adventurous and install different interfaces on my Lenovo T420 running Xubuntu. I decided to jettison Kubuntu after trying it out (just not my style) and kept Xubuntu ...
-1
votes
1answer
17 views

NVIDIA DevBox with Ubuntu 16.04 and 4.4.0-137-generic kernel randomly reboots and automatically shuts down overnight

I've recently stated using an NVIDIA DevBox that has an ASUS bios, with ther kernel version and ubuntu version mentioned above. For some reasons the machine can't really be left on overnight, as it is ...
13
votes
2answers
23k views

How to get current CPUPower governor

I want to get the current CPUPower governor. When I type cpupower frequency-info I get a lot of information. I just want to get the governor, just like "ondemand" with no more information, to use its ...
1
vote
0answers
44 views

systemd sleep.conf: perform IdleAction only on battery

When I'm running on battery power, I'd like to have IdleAction=suspend-then-hibernate. However, if mains power is connected, I'd like to have IdleAction=ignore. How would I go about setting this up?