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

learn more… | top users | synonyms

0
votes
0answers
27 views

Is the current power management (battery) in Linux efficient enough like Windows? [duplicate]

I am actually traumatized by my experience in 2011 using Linux on bare metal in regards to battery. The laptop came with Windows 7 Home. I got around 4 hours when using battery. After 4 months, I ...
0
votes
0answers
42 views

HowTo Suspend / Sleep / Spin down disks in RAID - Creted by the debian installer?

I have created a RAID 1, with two disks using the debian installer. The RAID is used in my server. Due to the fact that it's a private server and I don't care about performance but more about ...
2
votes
2answers
2k 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 ...
20
votes
7answers
5k 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 ...
0
votes
0answers
207 views

Debian Jessie suspend problems - how to force system to use pm-utils instead of systemctl

I have an Acer Aspire One Netbook with a Radeon GPU, using the firmware-linux-nonfree (20151018-2~bpo8+1) drivers, which work fine except for hibernate and suspend. When resuming from either, the ...
16
votes
4answers
11k 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 ...
9
votes
2answers
16k 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
1answer
3k views

CentOS 7 cpupower not setting the CPU's to maximum

On my machine, i have power savings disable on the BIOS. When I run Ubuntu on this machine, the CPU's are running maximum at 2100 MHz. However, when I'm running CentOS 7, even with the scaling ...
0
votes
0answers
19 views

Thinkpad T61: Udev-rule not working

I'd like to create a special udev-rule to improve the batterylife of my thinkpad T61 by set the brightness to a low value if the power supply is unplugged and my laptop using the battery. Therefore I ...
1
vote
1answer
217 views

How do I enable laptop settings in debian?

I have just installed debian jessie and have installed laptop-mode-tools. However, looking on the Laptop Mode Tools page, not only is there a plethora of options, but it also says this software should ...
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
35 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
224 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
155 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
355 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
144 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
335 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
42 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
20k 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
309 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 http://superuser.com/questions/152347/...
1
vote
0answers
156 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
54 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
218 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
285 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
149 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
720 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
211 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
74 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
275 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
513 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
701 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
178 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- ...
3
votes
1answer
981 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
268 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
264 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
46 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
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
297 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 ...
9
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 ...
2
votes
0answers
510 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
418 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
100 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 ...