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, …

5
votes
0answers
362 views

Arch Linux 64 bit - Will not wake from pm-suspend

Alright, I've been messing with this off and on for the past few months. pm-suspend used to work fine; I recently upgraded most of my hardware, and even then it worked fine. At some point there must ...
5
votes
0answers
2k views

Set power limit to Intel rapl

Recent enough Intel processor use the Intel rapl driver for energy management. This driver makes use of two power limit, the short term power limit, that allows higher power for short term thanks to ...
5
votes
0answers
821 views

FreeBSD throttle cpu clock on high temperature

I'm using a laptop with bad cooling system, so my CPU sometimes hits very high temperature, and linux kernel is able to throttle cpu clock to cool it as I can see in dmesg: [22612.245243] CPU3: Core ...
4
votes
0answers
305 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 ...
4
votes
0answers
820 views

How to get notification from upower when UPS is on battery

I have a Fedora Core 19 system powered via a desk-side UPS. I've connected the UPS' USP port to the FC19 system, and it was apparently recognized, as upower -d now reports its presence: ups ...
3
votes
0answers
197 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 ...
3
votes
0answers
72 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 ...
3
votes
0answers
69 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 ...
3
votes
0answers
32 views

Can anything from kernel-space defer a transition to S3 power state?

I'm wondering if there's a way to defer transition to S3 power state, for instance due to pending results from some external module, e.g. crypto-engine? Picture example scenario: user-space client ...
3
votes
0answers
130 views

How to change plugged in power setting in tlp to the same as on battery

Recently, I got an dell XPS 9560 and installed Ubuntu linux, but the coil whine when the machine is plugged in is driving me crazy. I'm pretty new to linux, and installed tlp to improve battery life. ...
3
votes
0answers
197 views

Suspend / resuming with a loopback swap file (required by btrfs)

I have a small SSD and want to be able to dynamically tune the size of my swap (swappiness=1, my intention is to use it for suspend to disk only) btrfs does not support using a swap file unless it is ...
3
votes
0answers
557 views

Prevent the optical drive to wake up (with noise) after suspend and at startup

Each time I wake up my computer from suspend mode, the cd/dvd player activate and make some noise (it probably checks if there is no cd inside). This happens also at startup. I don't have this ...
3
votes
0answers
192 views

Don't Spin Up Entire RAID for Read Access

I have a RAID 1 managed by mdadm consisting of a thumb drive and an external HDD. I set a spin-down time for the external HDD. If I access the file system of the RAID to read but not to write (for ...
3
votes
0answers
403 views

Second battery either not charging or charge not detected

I have installed Linux on my laptop and running it as the only system. It displays both batteries on the desktop UI, with the first one on 100% and second 0%. When it is discharged it just discharge ...
3
votes
0answers
952 views

Triggering Linux shutdown on power failure

I have an embedded Linux system (currently running Angstrom) with supercapacitor hardware to provide time for writes to complete and avoid corrupted filesystems when external power is removed. ...
3
votes
0answers
1k views

Huge battery drain during suspend to ram - 12%/hour - nvidia card doesn't turn off

UPDATE: So I tracked down the issue. It seems the nvidia card powers up right before suspend. This is expected bbswitch behaviour: [ 4195.214014] bbswitch: enabling discrete graphics But for some ...
3
votes
0answers
112 views

Set computer to suspend after a certain time when not logged in?

I realize that you can set the power preferences for when to shutdown, suspend, and spin down hard disks and so on. However, I find that seems to only work when I've logged in and then leave the ...
3
votes
0answers
72 views

how to identify process which blocks suspend/hibernate

I have an intermittent problem with a laptop that doesn't sleep/hibernate after lid is closed. And I have no idea why. I suspect that some process blocks sleeping/hibernating. How can I identify ...
3
votes
0answers
432 views

How to measure power consumption of a USB device?

The title says it. 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 ...
3
votes
0answers
715 views

Disable USB drive from sleeping

I am loading fedora20 directly from a SATA drive connected via USB. The problem is that I will be working and all of a sudden the drive seems to have been put to sleep and nothing will work except ...
3
votes
0answers
103 views

How do I find out what process is putting my machine to sleep?

My laptop is going to sleep after about 10 minutes of inactivity, and I don't know why. I verified the standard power options, are they're not set to put my machine to sleep. Here is grep's output ...
3
votes
0answers
2k views

MacBook Pro Retina: huge power consumption

I'm currently running Debian/Jessie on a MacBook Pro Retina 10,1 15" (early-2103). Everything is going well (ethernet, WiFi, retina, etc.) but I worry about its power consumption. laptop-mode manages ...
3
votes
0answers
419 views

Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)

I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
3
votes
0answers
643 views

Can't control brightness on HP Pav dv6t running Fedora 16

I installed FC 16 on my HP Pavilion dv6 with a 9-cell battery. I get approximately 7-8 hours on Windows 7, but at best 3 hours on Fedora. I cannot adjust the screen brightness using the fn keys, nor ...
2
votes
0answers
40 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 ...
2
votes
0answers
177 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 ...
2
votes
0answers
120 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 ...
2
votes
0answers
122 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 ...
2
votes
0answers
89 views

Thermal Power Management in Fedora 20 vs Fedora 26?

I'm trying to track down the root cause of what appears to be a thermal related issue causing an Intel D2550 CPU powered, fanless WTM-N28 motherboard to go into what seems to be an emergency shut down ...
2
votes
0answers
340 views

tlp stops working after suspend and resume

I use tlp for power management on my Asus UX305FA, and it improves battery time from ~7h to about ~11h. However, apparently it stops working after I close and open lid, which causes acpi to perform ...
2
votes
0answers
752 views

Update GNOME Shell brightness slider automatically on brightness change

Up till GNOME 3.22, this extension works, but on GNOME 3.24 it doesn't. I would like to set a different brightness level for plugged-in and on-battery states, which I can do with the following command:...
2
votes
0answers
484 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
1k views

Arch Linux Server: How to spin down HDDs in a BTRFS Raid5 configuration?

This is my first question here; after extensive research I had to reach out for help. I’ve build a home server based on Arch Linux. It basically has two main purposes: running a Plex Media Server and ...
2
votes
0answers
125 views

How to automatically load a new VID&PID to module usb_serial

I have a 4G module that requires me to run echo '03f0 581d' > /sys/bus/usb-serial/drivers/generic/new_id after every startup/resume to make the modem visible. How should I make this automatic? ...
2
votes
0answers
427 views

Xubuntu 14.04 does not suspend; instead it freezes and blanks the screen

For the past 2 weeks, ever since I've updated my kernel to 3.16.0-48-generic, my suspend option in the xfce4-session-logout popup fails to work most of the times. The screen switches off, but the ...
2
votes
0answers
725 views

poweroff nvidia gpu

lspci result: $ lspci -nn|grep -iP "NVIDIA|Radeon" 01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850] [1002:6819] 01:00.1 Audio device [...
2
votes
0answers
396 views

How to disable AC power supply from CLI

This article among others suggested the following to prolong battery life: Keep cool. Operate in mid SoC of 20–80%. Prevent ultra-fast charging and high loads (most Li-ion) The main issue here is ...
2
votes
0answers
95 views

Detect if computer was started using WOL or power switch

Is it possible to check if a computer was started using Wake on LAN or using the regular power switch under Linux?
2
votes
0answers
2k views

indicator-cpufreq in arch linux

I'm an Ubuntu user testing out Arch Linux. So far I'm happy. On Ubuntu I used the indicator-cpufreq applet to control power profile both on Unity and Gnome-shell. On Arch, I cannot figure out how ...
2
votes
0answers
266 views

Linux Wifi High Power Consumption

I'm running Fedora 20, kernel 3.15.6 and ath9 driver with an ateros card. My battery life is very short, on an older debian install I had around 3 to 4 hours, now I'm between 1 and 2 hours. Powertop ...
2
votes
0answers
689 views

High varying discharge rate

I got an Asus N76VB notebook. On Windows I can easily stay on battery for 3-4 hours in powersave mode, but on Linux (first Ubuntu 14.04, currently Fedora 20) the battery's discharge rate varies from ...
2
votes
0answers
716 views

Battery issues on a Lenovo Ideapad Z460 running Ubuntu 13.10

I've been using Ubuntu 13.10 on my Lenovo for more than 5 months without a problem. Yesterday I disconnected the AC adapter to take the laptop with me to the couch and it simply shut down. So I ...
2
votes
0answers
422 views

listen a power-button event in Python (no ACPI)

I am using a Debian machine which does not include the acpid package. Is there a way that I can reboot the machine using Python language when the power-button is pressed, without installing that (or ...
2
votes
0answers
76 views

Find out if system startup was initiated by rtc alarm

How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
2
votes
0answers
2k views

Intel Core i3/i5/i7 Sandy Bridge CPU throttling

Intel Sandy-Bridge family i5 Core CPU, running Linux kernel 3.2 (Debian Squeeze/Wheezy), under heavy computation load, does not react to to cpufreq-set -g powersave (using acpi_cpufreq module). It is ...
2
votes
0answers
2k views

on puppy linux, how to manage power settings

I'm new to using Puppy Linux, and I'm not able to find a way to manage power settings. The laptop stops working everytime I close and re-open the lid so I want to disable that function from doing ...
1
vote
0answers
20 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 ...
1
vote
0answers
20 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 ...
1
vote
0answers
32 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?
1
vote
0answers
49 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 ...