Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
0answers
37 views

Why system energy is equal to 1/f? [migrated]

I am studying Intel speed shift. I see a slide: Reference I don't understand, why the green line 1/f means system energy, I think more performance should need more energy as the red line (compute ...
8
votes
2answers
691 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
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 ...
3
votes
4answers
7k 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
18 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
54k 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, ...
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: ...
0
votes
0answers
18 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% ...
2
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
24 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
152 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
15k 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
13k 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
1answer
39 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. ...
0
votes
0answers
62 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
99 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 ...
1
vote
0answers
17 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 ...
3
votes
1answer
407 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
481 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
38 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
106 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
99 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
21 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
40 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
32 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
7 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
11 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
21k 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
31 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?
0
votes
0answers
17 views

Triggering “lid closed” when changing dock / external power connection

I want my laptop to respond as follows whenever the lid is closed: Docking - ignore Connecting external power - lock Otherwise - suspend-then-resume In my sleep.conf I have: HandleLidSwitchDocked=...
4
votes
0answers
298 views

How can I put a PCIe device into the D3 cold power state?

How do I transition an arbitrary PCIe device from the D0 state (powered on) to the D3 cold state (no current to the device) using common utilities on a Linux system? Presumably this involves writing ...
5
votes
1answer
4k views

System event on AC adapter insert or battery unplugged?

Does Ubuntu 15.04 (or maybe just Linux in general) have any sort of measurable event that fires when a laptop's AC power is disconnected and the unit flips over to battery power? I would like to ...
0
votes
1answer
598 views

Why does my MacBook CPU get hotter under NixOS than under Mac OS?

I have a dual boot MacBook (late 2008) with Mac OS 10.9 and NixOS. I observe that under similar conditions, with only one or two applications open and not doing any computations, the CPU gets 5-10 °C ...
0
votes
1answer
68 views

Standard event messages for Shutdown, power lost on Linux

We are developing a small battery, based on capacitor, which can keep the machine ON for 2 minutes once the AC Power is lost. We are going to write a Linux device driver for the module, it provides ...
11
votes
2answers
21k views

How to adjust charging thresholds of laptop battery?

My laptop is Lenovo T400, and OS is Ubuntu 12.04. I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging ...
3
votes
1answer
37 views

Stop spinning down internal disk

My laptop has a WDC WD10JPCX-24UE4T0. It spins down after 5 seconds of idle. That is pretty annoying. How can I change the spindown time? I have tried: /usr/bin/gnome-disks hdparm -S 200 /dev/sda ...
0
votes
0answers
70 views

How to resume the USB device after selective suspend configuration in Ubuntu host

I have Linux based development board on which DWC3 USB controller driver is present. I have implemented Link Power Management(L2 state) in the usb driver. Ubuntu is the host which on which my ...
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
0answers
60 views

Output the beginning and length/end of no keyboard and mouse use intervals

Gnome keeps track of intervals of no keyboard and mouse use. Xorg also needs this for its Option "BlankTime" option in /etc/X11/xorg.conf. What is a shell command to return such intervals (beginning ...
1
vote
2answers
264 views

Ubuntu 18.04 doesn't lock when I close the lid

Here's what I did: I created a file /etc/acpi/events/lm_lid and wrote into it: event=button/lid.* action=/etc/acpi/lid.sh I created a file /etc/acpi/lid.sh and wrote into it: #!/bin/sh gnome-...
18
votes
5answers
40k views

How to turn off Wireless power management permanently

In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue. sudo iwconfig wlan0 power off works, ...
8
votes
5answers
2k views

How to poweroff when there's no systemd/init (e.g. using init=/bin/bash)?

poweroff complains that it can't connect to systemd via DBus (of course, it's not alive). I did sync followed by kill $$, thinking that pid 1 dying would cue the kernel to poweroff, but that caused a ...
7
votes
3answers
7k views

How to clear / reset smart battery memory?

So, I got a new battery for my laptop, and right from the get go, I'm having problems. The battery came almost entirely discharged from the manufacturer. I plugged it into my computer and the batter ...
0
votes
1answer
73 views

What may cause the screen to turns off after few minutes without option to turn it on again

I've just installed Fedora 29 XFce on Dell laptop (Inspiron 15) and it turn off after few minutes, moving a mouse o pressing any key don't turn it on. To turn it on I've needed to hold down power ...
0
votes
1answer
44 views

How to add a delay to the power button for accidental bumps

I have a miniature PC here with a large and prominent power button on the front which is easy to bump accidentally. The system is running CentOS 7 with systemd. I already know that I can set ...