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

learn more… | top users | synonyms

12
votes
6answers
8k 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 ...
1
vote
0answers
32 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
1answer
212 views

Prevent USB hard drive enclosure from powering off after inactivity

I have successfully used 'hdparm' to disable APM (Advanced Power Management) on external USB hard drives. Now I've come across a USB hard drive enclosure that itself turns the installed hard drive ...
0
votes
1answer
133 views

How to disable fade to black for the fullscreen console

After a while of inactivity the fullscreen console fades to black until I press a key. I want to disable the fade to black on my fullscreen console running in a VirtualBox. I'm running Debian 8 ...
2
votes
0answers
339 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 ...
2
votes
0answers
122 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. ...
1
vote
1answer
301 views

Laptop battery doesnt raise from 59% (ie showing wrong battery stats )

iam using LinuxMint-17.2 Lenovo z500 fixed Nvidia gpu issues (installed bbswitch successfully ), also fixed Screen backlit issue iam only left with this battery issue Battery indicator is not stuck ...
0
votes
0answers
41 views

Laptop does not work without power source

Installed manjaro linux to the laptop today and discovered that it is not working with disconnected power source. Here is dmesg output: And upower -d: Manjaro 15.9, kernel 4.1.8, Cinnamon DE (if ...
9
votes
1answer
19k views

Turning off power to usb port. Or turn off power to entire usb subsystem

I have a usb lamp which I specifically bought in order to turn it off programmatically at a certain time, thus I need to remove the power to its usb port. I believe I have a usb-hub at usb6. The lamp ...
0
votes
1answer
291 views

Ubuntu Server monitor goes to sleep in 10 minutes [duplicate]

Is there a possibility to disable the monitor sleep in Ubuntu server 14.04? After 10 minutes my monitor goes to sleep. I've already tried several options, from ...
1
vote
0answers
138 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 ...
0
votes
0answers
6 views

How to allow hibernation on Linux mint 17 [duplicate]

When I press the power button and the window with power options(shut down, log off, etc) shows, it doesn't include hibernation. I know hibernation is different from suspension, so how do I allow my ...
0
votes
0answers
48 views

How to prevent closing lid events when system hibernates?

I'm using Linux Mint XFCE 17.2 (V-init), kernel 3.16. When I choose hibernate or shut down in xfce-logout dialog and close the lid immediately - notebook suspends. But it should ignore lid event for ...
2
votes
1answer
190 views

System event on AC adapter insert or battery unplugged?

Does Ubuntu 15.04 (or maybe just Linux in general) have any sort of measurable event that fires when a laptop's AC power is disconnected and the unit flips over to battery power? I would like to ...
4
votes
1answer
252 views

Install powernap on debian?

I just read about powernap here but don't know how to install it.. Download and untar was simple: axel https://launchpad.net/powernap/trunk/2.20/+download/powernap_2.20.orig.tar.gz && tar ...
1
vote
0answers
141 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 ...
1
vote
2answers
715 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 ...
0
votes
1answer
203 views

Lenovo Laptop won't charge above 59%, Elementary Os Freya (Ubuntu 14.04 LTS based I hope)

When I had windows I used lenovo energy managment and set the battery to charge up to 60% only as it recommended it to me. Yesterday I switched to Ubuntu and now I have this problem. It would be great ...
8
votes
3answers
6k views

How do I make Powertop's suggestions 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 ...
1
vote
1answer
73 views

tuned on fedora 22 - setting different alpm policies for specific devices

I'm trying to configure alpm to max_perfomance on my system disk, medium_power on my data disks and min_power for backup disks. I tried various variations in tuned.conf but the result is that the last ...
0
votes
1answer
64 views

Which distro to switch to (laptop) [closed]

I switched to Linux Ubuntu 14.04 from Windows 8.1 about a month ago because I wanted to get more out of my laptop (Lenovo Flex 2). I have been trying to either solve or ignore some issues that I have ...
12
votes
1answer
266 views

Disks (in usb enclosure) keep waking up even when not mounted

Setup I have USB enclosure (Buffalo DriveStation Quad) containing four drives connected to my nas server (ubuntu server 14.04). The enclosure is configured to JBOD mode, so I'll see all the disks in ...
2
votes
1answer
34 views

Why doesn't copying large files prevent Linux from going into power saving mode?

This problem happened to me when copying backups from an SSD to an external SSD. As suggested in the answer there, I had to change my power settings to set "suspend when inactive" to "never" in Debian ...
0
votes
1answer
500 views

Battery indicator problems after installing and uninstalling kubuntu-desktop package on Xubuntu 15.04 x64

A few weeks ago, I decided to get adventurous and install different interfaces on my Lenovo T420 running Xubuntu. I decided to jettison Kubuntu after trying it out (just not my style) and kept Xubuntu ...
2
votes
1answer
645 views

NMI received for unknown reason 20 — Do you have a strange power saving mode enabled?

I am using Debian GNU/Linux 7.8 (wheezy). While running my MATLAB program today, I got this message in terminal. Message from syslogd@sas21 at Jul 18 16:40:49 ... kernel:[1747708.091929] Uhhuh. NMI ...
3
votes
3answers
4k 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 ...
1
vote
1answer
177 views

What changed in Linux kernel (2.6.22) that gives hdparm support for power-on in standby?

Hdparm man page lists for parameter -s: Enable/disable the power-on in standby feature, if supported by the drive. VERY DANGEROUS. Do not use unless you are abso- ...
0
votes
0answers
215 views

How to switch power save mode between PS Poll and UAPSD (WMM) modes in CLI?

I'm trying to figure out if there are any chances to switch on/off U-APSD power save mode at my laptop. Currently I found a command to switch power save mode on/off: root@host # iw dev wlan3 set ...
3
votes
1answer
958 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 ...
2
votes
0answers
59 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
258 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
250 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
45 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 ...
5
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
23k 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
265 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 ...
0
votes
0answers
131 views

Is my MacBook Air sleeping under Debian Jessie?

I frequently notice the Apple logo lights up relatively briefly when the lid is closed on my MacBook Air running Debian Jessie. If I suspend with the lid open then the lock screen briefly appears and ...
9
votes
3answers
4k 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 ...
2
votes
0answers
485 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
396 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) ...
1
vote
0answers
96 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 ...
1
vote
0answers
39 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
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
57 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
98 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
177 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
120 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
566 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
52 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?