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

learn more… | top users | synonyms

1
vote
1answer
24 views
+100

Xscreensaver causing my monitors to turn off and on repeatedly when its power management features are active; how to fix?

Something weird is up with my Xscreensaver 5.15 configuration on Debian Wheezy. I have two Dell U2412M monitors hooked up to a single graphics card (one over native DVI and one over HDMI output to DVI ...
1
vote
1answer
1k views

No gnome-power-manager command but it is installed on Arch

I'm running latest Arch, have GNOME and Fluxbox and my main windows manager is Fluxbox. I wanted to manage my power settings in Fluxbox and i added gnome-power-manager in startup but is says there ...
8
votes
3answers
2k 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 ...
1
vote
0answers
30 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
31 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
12 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) ...
0
votes
0answers
12 views

Is UPower a middleware between what soft/hardware?

From UPower UPower is a piece of middleware (an abstraction layer) for power management on Linux systems. Is UPower a middleware between what soft/hardware? Is it above drivers of power ...
1
vote
1answer
40 views

Can I read settings in BIOS without restarting Ubuntu

Can I read my bios settings under Ubuntu without restarting? For example, I'd like to check the sleep settings in my BIOS, S3 (suspend) or S4 (hibernate). As of now, I can't hibernate, and am ...
14
votes
6answers
2k views

OS X: how to keep the computer from sleeping during a ssh session

When I ssh into a OS X computer on my network the session lasts until the OS X goes into sleep mode. Is there a way to prevent this from happening during my SSH session, apart from physically bumping ...
3
votes
1answer
535 views

Turn system on by USB keyboard?

To hibernate my Debian Wheezy system, I run the following command: sudo sh -c 'echo disk > /sys/power/state' To wake up the system, I can press any key on my USB keyboard. My understanding of ...
1
vote
2answers
568 views

Hibernate not working in Linux Mint 14 KDE after nvidia driver update

I've had some problems with the X server ramping up CPU usage, so I wanted to check if it goes away to a new Nvidia driver. I was at 304.xx and jumped to 319.49. Now, every time I try to hibernate, I ...
7
votes
1answer
7k 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, ...
1
vote
0answers
20 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 ...
0
votes
0answers
16 views

Make fan come on sooner

My Netbook goes to 60°C before the fan kicks on. The rest of the time, it is idle - the fan isn't spinning. I would rather it spin at least a bit more frequently - maybe at 40°C or something. I am ...
3
votes
1answer
1k 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' ...
2
votes
1answer
27 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 ...
1
vote
1answer
36 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 ...
9
votes
2answers
17k 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
1answer
30 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
44 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
37 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
454 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 ...
0
votes
0answers
94 views

Suspend option disappear from shutdown dialog on Mint 17.1 Cinnamon

Previously I have a "Suspend" option when I open shutdown dialog, not sure why (probably because I did a apt-get upgrade I found the "suspend" option has gone: Another thing is even I set my power ...
2
votes
0answers
29 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?
5
votes
2answers
6k 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
1answer
268 views

Disable suspend/sleep mode completely on Fedora 21

I connect to a Fedora 21 workstation with SSH, but after several minutes not using the connection the system go to sleep and I loose my connection. So how can I disallow completely the system to go ...
6
votes
6answers
3k views

How can I get an alert when my battery is about to die in Linux Mint?

This happens to me more than I'd like to admit, but sometimes I don't notice the power getting low since it only shows up in my status bar, then the computer just quits. I'd like a big alert that ...
0
votes
0answers
64 views

Battery not showing in ArchLinux Arm

I have a portable USB charger/external battery pack. The exact model is this one http://goo.gl/d9CgCa. I use this battery pack to power my raspberry pi which runs ArchLinux ARM. I am trying to view ...
1
vote
0answers
93 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 ...
2
votes
1answer
63 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
28 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
45 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 ...
6
votes
3answers
263 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
58 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 } ...
4
votes
2answers
598 views

Eject / safely remove vs umount

I'm using Ubuntu 12.04, and when I rigth click on a my flash drive icon (in the Unity right bar) I get two options that have me confused: eject and safely remove. The closer I came to answer was this ...
1
vote
1answer
64 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?
5
votes
5answers
3k 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
227 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 ...
1
vote
2answers
1k views

Debian Wheezy rebooting instead of powering off

I'm having a weird issue with my Debian Wheezy desktop. When I try to shutdown the system (either from Gnome or from the command line with shutdown -h now) the computer automatically reboots. The ...
5
votes
6answers
7k 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
6k 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 ...
0
votes
0answers
62 views

Ubuntu server going to sleep or not using graphics card

I'm running a small web server on Ubuntu Server 14.04, and it keeps going into sleep. I found a solution that works here, which is "adding the kernel options "acpi=off apm=off"". I have done this, ...
10
votes
5answers
14k 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 ...
12
votes
3answers
15k views

How to disable USB autosuspend on kernel 3.7.10 or above?

I've updated my HTPC from kernel 3.7.10 to 3.10.7 and it seems CONFIG_USB_SUSPEND is now gone from the kernel options and included in PM. The main problem I'm facing is that I have an external HDD ...
1
vote
0answers
65 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
25 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
430 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 ...
1
vote
0answers
32 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
98 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 ...
0
votes
0answers
99 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 ...