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

learn more… | top users | synonyms

11
votes
4answers
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 ...
10
votes
5answers
5k 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 ...
10
votes
1answer
994 views

How do I make my laptop sleep when it reaches some low battery threshold?

I'm using Ubuntu, but I have i3 as my window manager. Under i3, when my battery reaches 0%, the computer will just abruptly shut down, no warning or anything. Is there a simple script or ...
10
votes
4answers
530 views

NetworkManager: disabled network when sending system to sleep

When I suspend my notebook, NetworkManager disables the wireless network (in nm-manager.c:do_sleep_wake). However, I'd love to still use the network for a very short time (to unmount cifs mounts, ...
9
votes
5answers
9k 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 ...
9
votes
2answers
391 views

Screen doesn't always shut off on its own

It seems like when I have certain web pages focused, my screensaver will kick in, but the screen won't turn itself off. Does anyone have any ideas why this might be? Is there a way to disable whatever ...
8
votes
2answers
6k 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 ...
8
votes
2answers
564 views

System-wide power management policy on debian-based distros?

I would like to put idle machines in our lab (running Mint Debian edition) on standby after a timeout. I have tried pm-suspend and it puts the machines on standby and wakes up fine. Does anybody know ...
8
votes
1answer
525 views

Screen brightness reverts to max after returning from `xset dpms` display suspend

I'm running the openbox window manager and using this line in my autostart.sh to control display power management: xset dpms 0 60 0 This works nicely, causing the display to suspend after 60 ...
7
votes
2answers
13k 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 ...
7
votes
1answer
294 views

How can I send power on/off signals to a VGA monitor?

I've used some old spare parts to make a sort-of kiosk for my kitchen. It's running OpenBSD and has a simple text based UI (no X Server). I plan to add an Arduino with a motion sensor that ...
7
votes
1answer
269 views

Power saving enables touchpad

I've installed power saving packages (bumblebee, laptop-mode-tools, and cpufreq) to my laptop with Debian Wheezy. Thanks to that I decrease power usage from 32W to 10W. But now I faced the issue that ...
6
votes
3answers
3k views

Get power consumption of a USB device

Is there a way to check how much power a USB device requires? Why do I need this? I need to connect an LTE USB stick to my Raspberry pi, and don't know how much power it needs. We got it quite ...
6
votes
3answers
2k views

Will switching from Gnome to LXDE improve battery life?

I currently have Fedora 14 and the battery life is not so good. I am planning to switch to Fedora 16. Will I get significantly more battery life if I go for the LXDE spin instead of GNOME?
6
votes
6answers
5k views

How can I improve battery life in Fedora 15?

I am seeing a horrible battery life with Fedora 15 (lovelock) with Gnome Shell 3 on my laptop. I keep the screen brightness, back light pretty low. I still get about 1 hr 50 minutes battery life out ...
6
votes
1answer
4k 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, ...
6
votes
1answer
434 views

Is it possible to automatically wake from suspend?

Here's my problem: I have a laptop running Arch that I just keep on at home. It's got a good 4 hour battery life, but sometimes my daughter is playing near where it's kept and ends out pulling the ...
6
votes
1answer
699 views

pm-utils: No network in suspend scripts?

I'd like to put a script in /etc/pm/suspend.d/ that needs network access (for a very short time) before allowing the system to suspend. However, even with scripts named "001_something" in ...
6
votes
2answers
781 views

Preventing battery from charging

I'm running on UPS power and would like to prevent the laptop's battery from charging, to increase the amount of power available to other devices. Is there a way to do this? update: The machine is a ...
6
votes
1answer
583 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 ...
5
votes
2answers
1k 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 ...
5
votes
2answers
404 views

Do I need acpid in a virtual machine?

I'm always wondering if power management facilities in a virtual machine is necessary? i.e acpid. And I'm not sure if they still function in a virtual machine.
5
votes
4answers
6k 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
2answers
3k views

How do I make Powertop's suggestion's permanent?

When I run Powertop, and look at the Tunables screen, about twenty things are listed as Bad. I can toggle these to Good by pressing enter, and when I do so, projected battery lifetime doubles. How ...
5
votes
1answer
363 views

command to reboot as non-root user

I am using LXDE on Debian. When logged in LXDE as user, I can click on the logout icon in the menu and choose one of the options: shutdown reboot logout suspend But when I type reboot or shutdown ...
5
votes
3answers
106 views

Which command to force a drive to spin up?

I've looked through the manual for hdparm, sdparm. I know there are arguments to spin down the drive, with -y and -Y. I also know there are arguments to control the power saving features, such as -S ...
5
votes
1answer
1k views

Setting CPU governor to on demand or conservative

I'm struggling with cpupower on ArchLinux. I want to set governor to ondemand or even to conservative. First if I do $ sudo cpupower frequency-info --governors, I only get performance powersave. So ...
5
votes
1answer
3k views

Why does drive not enter standby mode when using hdparm -S

When reading the hdparm manual pages, it says that the -S value is used by the drive to determine how long to wait (with no disk activity) before turning off the spindle motor to save power ...
5
votes
3answers
338 views

Power management hook for running *X11* scripts on wake

Earlier I asked a similar question, but that one was about running system-level scripts. I have a script that runs a series of xinput commands in order to enable two-finger scrolling on my touchpad. ...
5
votes
0answers
772 views

DPMS does not work: the monitor is not switched off [closed]

I have a monitor which was properly switched off by my Debian PC when unused. I attached it to another machine and, this times, it is never switched off. In /etc/X11/xorg.conf, I have: Section ...
4
votes
2answers
379 views

How can I find out the estimated power use of my desktop computer?

Is there a way to get the computer power usage instead of battery load tracking (what for instance seemingly powertop does), which is obviously not too useful on desktops?
4
votes
2answers
1k views

How to prevent my screens from dimming (going black) from the command line

In KDE, there was a system setting where you could specifically set the monitors to never go black. Now I've switched to dwm and (it might not be related) my screens dim after about 10 minutes. How ...
4
votes
3answers
2k 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 ...
4
votes
1answer
303 views

How to turn off screen under Linux/BSD?

How can I turn off my laptops screen from software side? ex.: under Scientific-linux, OpenBSD? Or the best I can do from OS side is just to show a black picture? Are there any solutions?
4
votes
2answers
800 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 ...
4
votes
1answer
2k views

How to properly prepare a server for power outages?

I have a personal Debian server set up, that I'm able to access in person and remotely, but normally I'm away from it and it's remote. It's on a battery-backup surge protector, but sometimes that ...
4
votes
2answers
2k views

Slow down the CPU

I tried to slow down my CPU with powernowd and cpufreq-selector. I hoped that with lower frequency it will be less hot and I won't hear my fan every time I will run internet radio. I used the ...
4
votes
2answers
7k views

How to avoid powering down certain USB devices when a machine is suspended

I'd like to maintain power supply to a USB-powered drive when the system goes into suspend (AKA S3 or "suspend-to-RAM") mode. Normally the power is cut while the machine is suspended, which causes it ...
4
votes
3answers
1k views

How can I set power button (on computer case) to power off system with `systemd`?

How can I set the power button (on my computer case, not keyboard) to power off the system with systemd (without acpid)?
4
votes
2answers
4k 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 ...
4
votes
2answers
786 views

Power management hook for running scripts on wake

I'm looking for a way to run an arbitrary script every time my laptop wakes up.
4
votes
1answer
849 views

“Memory corruption detected in low memory” kernel messages?

I have some memory corruption detected in low memory messages. I have read about it here, but I'm afraid I can't really make anything out of the discussion. It does indeed happen when I ...
4
votes
1answer
5k 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 ...
4
votes
2answers
364 views

Powertop strange results

I have installed Ubuntu 11.04 and battery life decreased by 2 times. Powertop documentation says that there should be 3 wakeups per second, I have 800-900. I think it's very strange because I didn't ...
4
votes
1answer
426 views

Suspending laptop fails ~50% of the time

Running ArchLinux and GNOME 3 on a Thinkpad X220. When I suspend my laptop it goes into sleep mode and the LED ring around the power button fades in and out. When a suspend fails, the LED ring and ...
4
votes
1answer
3k views

Setting CPU frequency guidelines

I'm changing my CPU frequency because of noisy fan. I used sudo cpufreq-selector -g powersave for this purpose, but I replaced my Linux system Xubuntu with Lubuntu because it utilizes better ...
4
votes
0answers
136 views

Monitor connected via displayport to DVI adapter won't sleep properly

I have a monitor connected to my machine that displays odd behavior when entering power saving sleep mode. When entering sleep, the monitor will alternate between blanking and displaying a default ...
4
votes
1answer
69 views

Writing a suspend-aware program in linux

Programs that depend on physical time, such as jackd and its clients, do not play well with software suspend of a laptop in linux. I would like to fix a client that starts issuing plenty of "timing ...
3
votes
4answers
2k 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 ...
3
votes
2answers
372 views

How to identify if there is some power saving setting that powered down a processor in Linux

I have a linux server that apparently has two Intel Xeon X5670. /proc/cpuinfo shows 12 CPUs but dmidecode shows only one CPU and the other one is in the Unpopulated status like it is showing that ...