Stack Exchange Network

Stack Exchange network consists of 174 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, …

1
vote
0answers
18 views

TLP and graphics card performance

I have a laptop with two graphics cards: an integrated Intel, and an RX 550. When I enable TLP for power-management, the performance of the RX 550 is cut in half, making it even worse than the ...
1
vote
1answer
45 views

Intermittent PCIe Bus Errors on startup (Arch Linux)

Since April when I built my computer with Arch Linux OS, I have been getting some errors that seem to point to the ASPM control of some USB 3.1 on my ASUS "ROG STRIX Z370-E GAMING" motherboard. I ...
-1
votes
0answers
16 views

permanently disabling usb / mmc ports under linux

My BIOS does not have option to disable specific ports. I want to disable permanently specific USB / MMC ports on my system ( x86_64, kernel 4.15+, debian-like). I started with USB ports. Disabling ...
0
votes
0answers
14 views

Screen goes blank if I turn it off and then on without X server

I'm in the process of running some Machine Learning algorithm that needs all my GPU. As such I want to leave it running during the night with X server off as to let all the GPU RAM available to my ML ...
0
votes
0answers
14 views

Check the times of the DPMS power-saving setting

I'm using i3-gaps and a problem that i have when watching videos is that the screen gets powered off after i set the time using DPMS on my shell rc. So, to solve the problem, i had the idea to make a ...
0
votes
0answers
110 views

How to increase the frequency of calculation of discharge rate in Power-Statistics app via command line?

I believe the Power-Statistics app is using UPower for its diagnostic info. However the UPower manual seems to be incomplete. I manually calculated the time it takes to update the discharge rate of ...
0
votes
1answer
98 views

Turn off screen when laptop lid is closed

My laptop does not turn off the screen when the lid is closed. This is already present when booted from the Arch install stick. The event itself is properly recognized since the system logs: systemd-...
0
votes
0answers
10 views

Deactivating discrete GPU during battery operation?

GPU can provide a performance boost to some operations such as web browsing, but can increase power consumption significantly. For this reason, I would like to deactivate it temporarily while the ...
0
votes
0answers
41 views

Configure Linux to tolerate power being cut?

I would like to put a Linux computer in my car, but one challenge is that normally when the ignition is turned off, power is cut. This is bad for Linux which wants to go through a shutdown process ...
1
vote
0answers
74 views

Problem with external monitor plugged to notebook

My case: At work, I use my own laptop (Xiaomi Mi Pro). When I connect it to an external monitor, I want to be able to just close the lid and leave without the laptop and have the laptop suspend. When ...
2
votes
0answers
117 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 ...
2
votes
0answers
49 views

Power saving with Optimus

Some context before I ask this question: I thought I understood how Optimus works, until I encountered this https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1765363 issue, with the prime ...
0
votes
1answer
42 views

Allow DPMS to turn off screen with force when the screen is locked?

I discover that command xset dpms 300 which turn off the screen for example after 5 minutes (300s), and it wonderfully doesn't turn off the screen if a youtube video is actually playing even in a ...
25
votes
3answers
3k views

Why are some Intel family 6 CPU models (Core 2, Pentium M) not supported by intel_idle?

I've been tuning my Linux kernel for Intel Core 2 Quad (Yorkfield) processors, and I noticed the following messages from dmesg: [ 0.019526] cpuidle: using governor menu [ 0.531691] clocksource: ...
0
votes
1answer
26 views

Is it possible to restrict the amperage of an USB port? [duplicate]

I have a phone attached to my laptop using an USB so that it shares the internet connection over the wire without using Wi-Fi hotspot (it draws a lot of power). But it draws a lot of power from the ...
2
votes
1answer
345 views

Troubleshooting tips for Suspend-to-RAM

I am seeking advice regarding proper kernel command line options and/or BIOS settings for a Supermicro X10DAL-i system (with dual Xeon CPUs) for proper suspend-to-RAM under recent Linux kernels. I am ...
4
votes
2answers
383 views

Disabling Chromium XFCE Power Management Inhibition

For a long time I've been having problems with my Screen Saver not working properly, now it seems it tells me the problem in the XFCE4 Panel's Power Manager Plugin Captain reads /usr/lib/chromium-...
1
vote
1answer
157 views

Keeping display on when lid closed

I have an integrated colourimeter on the palm rest of my ThinkPad W520 running Debian 9 and it requires the lid to be closed during the calibration so it can "see" the screen. I would like to know ...
0
votes
0answers
32 views

Power management for old laptop running Linux

Recently I went through boxes of old stuff and discovered a few very old laptops (early 2000's) full of dust. Instead of throwing them away I decided to install a very light system SparkyLinux onto ...
2
votes
0answers
108 views

How to prevent applications from causing Powerfail when power management is configured to suspend at 10% battery

When my laptop attempts to suspend itself to avoid powerfail, instead of successfully suspending, I get a popup from xfce4-power-manager: "Are you sure you want to hibernate the system? An application ...
2
votes
0answers
73 views

Time of Last Power Cycle

I know how to use uptime To see how long the OS has been running, and last reboot To see a log of recent OS reboots. Is there an easy way to see when the box was last power cycled? The ...
0
votes
0answers
30 views

User Suspend in Slackware 14.2 w KDE

What is the preferred way to implement suspend (sleep/hibernate) so that a user may suspend a desktop from the KDE kickstart menu. The underlying distribution is Slackware 14.2 The intent is to have ...
0
votes
0answers
5 views

QBEX Atlas mobile 5000 turns-off after resuming suspend

I've got a install of Linux Mint 18 Cinnamon on a QBEX Atlas mobile 5000, using the kernel 4.4.0-53-generic. I haven't changed any default options. Whenever I suspend the machine, either by closing ...
0
votes
0answers
21 views

Device tree - defining peripherials switched off at boot

I have a board with i2c device(accelerometer) connected to mcu. I inserted the device node to my device tree file and everything works fine - device is detected, i can read measurements etc. However,...
0
votes
0answers
253 views

Laptop power button not recognized

I'm running Linux Mint 18.3 on an Acer Swift 3 laptop. My OS doesn't recognize when I press the power button on my laptop. Here's what I've checked: acpi and acpi-support are installed per this ...
1
vote
1answer
57 views

asix driver becomes unresponsive after a while

My ethernet adapter goes dead every once in a while, and I am trying to debug. I am using factory drivers with kernel 4.4.126-48-default on OpenSUSE Leap 42.3 . Here are the symptomps, The USB ...
1
vote
1answer
112 views

Disabling/Re-enabling cores via kernel in Threadripper/EPYC systems [closed]

As part of my current research, I've been doing tests where I disable/re-enable cores by echoing 0 or 1 to /sys/devices/system/cpu/cpuN/online to simulate vertical scaling. With Kernel v4.4.0 (...
1
vote
2answers
805 views

What are the implications of setting the CPU governor to “performance”?

I recently read that I can eke more performance out of my CPU by setting the governor to "performance" instead of "powersave". According to the Arch wiki, this will "run the CPU at the maximum ...
0
votes
0answers
23 views

How shall we set up to run a command automatically once no user activity for a specified amount of time?

Is there some way to set up to run a command (e.g. pm-suspend or any other command) automatically, whenever there is no user activity (mainly no user input from keyboard, touchpad, mouse, maybe except ...
0
votes
0answers
160 views

Why are there these differences between suspension by the DEs and by pm-utils?

I found some differences between running pm-suspend and clicking "Suspend" menu item in LXDE on Ubuntu 16.04 In both cases I can wake up Ubuntu by pushing the power button on my laptop, but in the ...
1
vote
1answer
41 views

What is “C sort order” in pm-action manpage? [duplicate]

From manpage pm-action(8): /etc/pm/sleep.d, /usr/lib/pm-utils/sleep.d Programs in these directories (called hooks) are combined and executed in C sort order before suspend and hibernate ...
0
votes
0answers
193 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, ...
0
votes
0answers
77 views

Disabling Bluetooth USB Host Controller

In Powertop I see 1.96 W 100.0% USB device: Bluetooth USB Host Controller (Apple Inc.) This seems unnecessary, seeing as I don't use Bluetooth. Is there any way to disable this device so ...
0
votes
1answer
20 views

CentOS hibernate state expires?

I can successfully put my CentOS system in hibernate state. After a few minutes when I power up, all is as expected. Desktop and running apps are preserved. Honkey-dory. After a few hours of ...
3
votes
0answers
65 views

How can I stop my USB hub from crashing my computer when it gets un-plugged?

Every time the power goes out or I blow a fuse, my system crashes. That would be normal for a desktop, but I have a laptop with a fully-working battery. In fact, I can unplug my laptop without issue ...
0
votes
0answers
38 views

modify fan temperature zones

I just cleaned up my fan and heat sink and noticed that my CPU is still very hot, usually running around 70C. The fan only kicks in at max power around 80C but this worries me a bit, I think is a bit ...
1
vote
0answers
175 views

Reduce high power consumption by keyboard and trackpad

I am running Fedora 27 on a 2014 11 inch MacBook Air, using GNOME 3.26. I only average about 5 hours on battery instead of the 9 hours this model would last running Mac OS. I know getting the 9 hours ...
0
votes
1answer
63 views

Laptop doesn't turn on at all after installing Linux Mint [closed]

Long story short, my buddy was running Windows 8 on Lenovo G510 for 4 years, and was always complaining how it was lagging. I suggested to switch to Linux, he tried Linux Mint Live CD for a few hours, ...
1
vote
1answer
697 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
137 views

Any way to prevent cpu frequency and governor being restored to default after waking Ubuntu from suspension?

In the past, I have been bothered by the problem of cpu frequency and governor that have been changed by me are automatically restored to default after waking Ubuntu from suspension. I have posted ...
1
vote
0answers
92 views

Sony docking station crashes GUI on unsuspend

I have a Sony Vaio (2012) SVS13a with a full docking station which the notebook clips into. I run Debian Testing and have the latest updates installed as of writing this question. When I have the ...
0
votes
0answers
23 views

Main screen does not go to sleep after pressing Win+L, mouse pointer still appears

I am currently using Fedora 27 with GNOME3 and I have a problem. I use my system with three displays, and unfortunately, when I press Win+L to lock my current session, my displays on the sides go to ...
1
vote
1answer
1k 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
2answers
316 views

Prevent hard drive spinup

I have a webserver being idle most the time. This causes the main hard drive to spin down after a few minutes, all the other hard drives are already spun down. This is a wanted behavior, since I want ...
4
votes
2answers
111 views

Unable to set kernel module parameters

I recently updated from the 4.9 kernel to 4.14 only to find my speakers have a constant buzzing sound. I've narrowed the problem down to the power_save parameter of the snd_hda_intel module. When ...
0
votes
0answers
159 views

How to get Power Off option from login screen? OpenSUSE with SDDM & KDE

Is there any way to get the Power off option on the login screen? I mean something on screen to click & select shutdown, hibernate, etc. - without having to log in first. Ideally, I'd prefer not ...
0
votes
1answer
171 views

coil whine on kubuntu when idle

My pc has Kubuntu 17.04 and windows 10 setup with dual boot. When i boot to kubuntu as soon as the login screen shows i hear high pitch coil whine sound from my pc. I disabled all the power states ...
3
votes
0answers
236 views

Hibernation randomly fails with black screen [closed]

Hibernation sometimes works, but many times: Screen flashes then goes blank, black, or just returns to desktop view. Everything freezes entirely, not even typing in the blind works. Nothing happens ...
2
votes
1answer
417 views

How to stop Intel HD4000 from running at max clock speed?

I have run into a bit of trouble trying to force the Intel HD4000 iGPU to run at a lower clock speed to save power. What I have tried so far: Seems to "stick" but has no real effect from my testing: ...
3
votes
0answers
54 views

Detecting intervals of inactivity in the tty? (to simulate setterm --blank in fbterm)

setterm --blank n allows me to configure the virtual terminal to automatically shut the display off after n minutes of inactivity. Unfortunately, I spend all my time in fbterm, where setterm does not ...