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

learn more… | top users | synonyms

2
votes
0answers
326 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
102 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
267 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
38 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 ...
8
votes
1answer
18k 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
263 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 ...
0
votes
0answers
109 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
46 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
174 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
225 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
135 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
709 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
187 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
72 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
63 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
253 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
33 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
484 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
578 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
196 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
934 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
250 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
233 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
44 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
22k 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
226 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
128 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
452 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
376 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
18 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
20 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
0answers
91 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
55 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
96 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
169 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
114 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
562 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?
6
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
336 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
934 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 ...