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

learn more… | top users | synonyms

3
votes
0answers
64 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 ...
0
votes
0answers
278 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
2answers
279 views

How can I reduce my Laptop's power consumption when running Linux?

I just installed Linux on a laptop of mine (it's Lubuntu 15.04 on a Lenovo X201, Core i5 M540, 2GB mem). I'm currently seeing 21580 mW power draw with a couple of apps open (Firefox with a few tabs ...
1
vote
0answers
50 views

Screen blanks at login screen

On Linux Mint 17.1, the screen blanks when left idle. To stop this from happening, I have checked all the obvious candidates on the Power Settings and Login Window screens. Can anyone help me ...
6
votes
3answers
1k views

How do I prevent GNOME suspending while I finish a compilation job

I am trying to build a custom kernel for my machine which is taking a long time to build (as expected). Is it possible to stop my GNOME desktop from suspending the machine until the compilation has ...
11
votes
3answers
24k views

Ubuntu Server Continuously “goes to sleep”

I am running a web server at home using Ubuntu 11.4 (maybe? I can't 100% recall) on an older AMD 2400+ desktop with 1 or 2 GB of RAM. Sorry I can't recall the details 100%. Anyway, I have a KVM ...
2
votes
2answers
341 views

Power button does not trigger suspend (nor anything)

I would like to set the power button in my laptop to initiate suspension. Note that I can trigger suspension by closing the lid, or using pm-suspend, so the problem is the button, not the suspend ...
10
votes
3answers
5k views

Return value of current watt consumption on command line

Is there a way to return the current watt consumption on the command line? I have found about the powertop program, but have not seen a way to return the Watt consumption as a value to the command ...
3
votes
0answers
555 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
430 views

Debian laptop suspends periodically

My Debian laptop (current release: testing) today started to suspend periodically for some unknown reason. It happens either I'm trying to type something, use mouse or make any other activity. What ...
0
votes
0answers
19 views

Set the cpu frequency upon resuming from suspension?

On Ubuntu 14.04, I hope to set the cpu frequency upon resuming from suspension, so I created a file /etc/pm/sleep.d/20_cpu_freq with content: #!/bin/bash case $1 in resume) ...
2
votes
0answers
102 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 ...
3
votes
1answer
3k views

How to get ondemand governor on fedora

In Ubuntu 13.10 on my (Dual Core i5 Lenovo G570) laptop, I recently discovered the wonders of indicator-cpufreq, so I can extend my battery life dramatically by setting it to 'ondemand' or 'powersave' ...
1
vote
1answer
58 views

Saving power on a linux cluster

I would like to buy a cluster (30-60 nodes) for work and install linux on it. The cluster should have a queue system like PBS, for instance. It should also be capable of doing parallel computation. I ...
2
votes
1answer
103 views

Why do the two scripts work for waking from suspension?

My Ubuntu 14.04 on Thinkpad T400 sometimes (but not always) can't wake up from suspension. While I am still suspecting my graphic controller's driver, I found two scripts (here and here). I don't ...
1
vote
1answer
190 views

Simple way to keep hard disk alive on activity?

As hdparm does not work for my USB external drive (it spins down to early), I’d like to simulate standy-by control manually by a simple script with the following idea: monitor I/O to the disk when, ...
1
vote
1answer
133 views

What's the relation betwen ACPI, udev, HAL and pm-utils

I'm trying to figure out how the power management in achieved in Linux (because I want to fix some issues in my laptop). I have found thoughtful documentation about these elements separately. In other ...
2
votes
1answer
573 views

Acpid and Startup Brightness

On Arch Linux on my laptop, I have acpid control the brightness level based on AC plug events. Plugging in gives me max brightness and running on battery sets it at the minimum. My problem is that ...
2
votes
0answers
53 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?
7
votes
2answers
9k 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 ...
1
vote
0answers
376 views

Is it safe to disable Frequency Scaling and CPU idle Power Management support for Real Time purposes?

I'm using a Raspberry Pi board and I would like to build a real time system. During the kernel configuration, I found the CONFIG_CPU_FREQ option, which (from the help section) allows you to change ...
3
votes
1answer
1k views

How to get current CPUPower governor

I want to get the current CPUPower governor. When I type cpupower frequency-info I get alot of information. I just want to get the governor just like "ondemand" with no more information to use its ...
0
votes
1answer
51 views

Why do I get mail when I unplug my adapter?

Usually I only get the terminal output You have new mail in /var/mail/$USER after running certain upgrades but I've started getting it every couple days after running other commands, seemingly at ...
4
votes
1answer
98 views

How to restrict/cut power output to a USB client?

...or, how not to charge my phone when I'm using it as a GSM modem in USB tether mode? I can use it as WiFi tether modem, but it wastes battery both of the netbook it supplies connectivity to, and on ...
7
votes
3answers
2k views

how to stop the screen from blanking / blacking out?

I have re-installed Debian 7 (Wheezy) after a while. For the first time, I am using the open-free nvidia drivers (not nouveau) and vesafb for virtual consoles. I cannot, for the life of me, stop the ...
1
vote
1answer
169 views

How to debug hard drive power saving?

My harddrives are not going to powersave. I have added the following lines into /etc/hdparm.conf: command_line { hdparm -S 25 /dev/disk/by-uuid/42d40d37-2859-457c-93d0-e4c617d06d9f } ...
1
vote
1answer
108 views

Can I check how much energy a USB device is consuming?

Is there any utility I could use to check how much energy a USB device is consuming, for a given time frame?
6
votes
5answers
6k views

How can I run an hdparm command after boot and resume on Fedora 19?

I bought a new HD(WD5000BPVT) which unfortunately tries to sleep every 5-8 seconds. Not only is the clicking noise quite audible, the 1-second spinup time adds very noticeable latency in day-to-day ...
2
votes
1answer
249 views

Console won't power off on PowerPC with Debian

I installed Debian 6.0 on a Power Mac G5. First it would boot to a blank screen but I fixed that by blacklisting nouveau as described here. Now the monitor will never turn off. It's a server so I'll ...
5
votes
6answers
9k views

Disable USB power for USB controlled power strip

I have a USB controlled power strip that has a single usb port. If my computer is turned on and connected via usb to the power strip, the power strip will provide electricity to all the sockets. I ...
5
votes
1answer
9k views

What is kondemand?

I have searched the web for the answer of this question but couldn't find a clear answer. Best answer I found was as follows: kondemand is a kernel thread that belongs to the ondemand governor of ...
14
votes
5answers
25k views

How to find power draw in watts? [duplicate]

I've been asked to estimate the power consumption of the servers I run for my laboratory. I thought and I'd ask if there was some handy linux commandline to get the power consumption of the server. It ...
1
vote
0answers
122 views

Suspend options with KDM greeter

I am not able to suspend my desktop to RAM from the KDM greeter. I am able to suspend it to RAM when logged into KDE using the sleep option from the logout menu and by pressing the sleep key on my ...
1
vote
0answers
43 views

Is it safe to use the -y and -Y flags to hdparm?

Is it dangerous to use the -y or -Y flag in hdparm during a write, or when the disk is still mounted, or will hdparm refuse to spin-down, or automatically sync and unmount?
0
votes
0answers
962 views

Where are pm-powersave settings on OpenSUSE 13.2, and are they used?

I am trying to sort out powersaving for OpenSUSE 13.2 running on a laptop. I found this guide: https://en.opensuse.org/Powersaving for understanding Powersaving on OpenSUSE. However, it appears to ...
2
votes
0answers
51 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 ...
0
votes
0answers
188 views

CPU load and power management (frequency)

question background In my understanding the load value (shown e.g. by top) allows (together with the knowledge how many CPU cores the system has) a very quick assessment which share of the ...
2
votes
0answers
166 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 ...
9
votes
1answer
507 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
2
votes
1answer
416 views

How do I immediately put a drive to sleep (without changing its power setting configuration)?

Within GNOME's "Disks" utility there is the option to immediately put a drive into sleep / standby, which spins down the platters. I would like to do this on my servers before pulling hot-swap drives ...
1
vote
0answers
613 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 ...
1
vote
1answer
874 views

What is the suspend procedure in KDE?

I've been reading this question, and I'm wondering what is the procedure for suspending in KDE? Whether to RAM or to disk.. When I click suspend, or close the lid, what gets triggered? What is the ...
0
votes
0answers
80 views

Possible not restore cpu frequency after suspending and waking up?

When I suspend my Ubuntu 12.04 and wake it up, the cpu frequency I set by clicking indicator-cpufreq on the desktop panel will be restored. I wonder if that is a bug or some design? Is there a way to ...
1
vote
1answer
700 views

what does pm-suspend-hybrid do?

man says pm-suspend During suspend most devices are shutdown, and system state is saved in RAM. The system still requires power in this state. Most modern systems require 3 to 5 ...
2
votes
1answer
617 views

get system uptime on battery?

How to know system uptime under battery ? so that i can get exact time of battery backup the uptime shows complete uptime (AC/Battery) NOTE : I am using linux Mint 17.
0
votes
1answer
153 views

xscreensaver sometimes unlocks locked screen automatically, after returning from monitor standby mode

I am using xscreensaver to lock my screen. Additionally to that, my monitor goes to "standby" , i.e turn display off, after 30 minutes of inactivity. It has happened to me twice now, that I have ...
1
vote
1answer
538 views

Auto-hibernate with udev rule

I'm using Debian Jessie with systemd. In the past I've used an acpid script that let's my computer hibernate when the battery is 5% or below. In an attempt to make a replacement for that I've made ...
0
votes
1answer
411 views

Role of the Intel P state driver

I searched high and low for what “Intel P state” is and what it does. I found out that it has to do with performance and power consumption. I learned that if you build it in the kernel, it'll becomes ...
2
votes
1answer
475 views

Display power management in console

When in console (i.e. not in Gnome or KDE) the display will automatically power down in case of inactivity. It seems to me to be set to something around 30 minutes. This power management is completely ...
7
votes
2answers
5k views

Powertop tunables: what does it do?

I just installed Powertop 1.98 on my laptop (T420 + FC15). There is a section called "Tunables". Half of my devices show as Bad. I see I can toggle from Bad to Good? What this section is for? What ...