3
votes
0answers
26 views

Disable USB drive from sleeping

I am loading fedora20 directly from a SATA drive connected via USB. The problem is that I will be working and all of a sudden the drive seems to have been put to sleep and nothing will work except ...
1
vote
0answers
39 views

Disable processor speed changes on AC vs battery [closed]

My Toshiba Satellite L300 laptop freezes when I plug in the AC power cord. The problem is, whenever the processor goes in power management or downclocks, the system freezes and shows colorful ...
1
vote
1answer
236 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 ...
2
votes
0answers
41 views

High varying discharge rate

I got an Asus N76VB notebook. On Windows I can easily stay on battery for 3-4 hours in powersave mode, but on Linux (first Ubuntu 14.04, currently Fedora 20) the battery's discharge rate varies from ...
5
votes
3answers
142 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 ...
3
votes
0answers
111 views

How to prevent the Linux kernel from waking a secondary HDD from sleep

Is there a way to instruct the (Linux) kernel not to wake up a secondary hdd after a system sleep/wake-up cycle? I'm asking because in my laptop I have an SSD as a primary drive containing the system ...
4
votes
1answer
72 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 ...
2
votes
1answer
991 views

How to change Power button shutdown action

I use Mageia ver 4 Linux as server, without X started and without any user login-in during normal operation. This PC has a special card for measuring and control of other devices. This card has its ...
2
votes
1answer
256 views

Shutdown my (backup) hard disk on Linux when I don't use it

I have a hard disk in my computer that I use to make backups of my data. I do not use this disk otherwise. How can I stop this disk from spinning once my backup is finished? Also how would I make it ...
3
votes
1answer
249 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
36 views

Find out if system startup was initiated by rtc alarm

How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
0
votes
2answers
89 views

embedded linux and powering usb stick

I have a problem where I need to read a usb-stick or a usb keyboard: When I plug in the USB stick or keyboard I can't get power to the device. dmesg says nothing I tried: for device in $(ls ...
7
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 ...
1
vote
1answer
123 views

How to prevent the termination of Anacron jobs after battery mode commences?

I have a backup script which is run daily by Anacron. It can take around 3 hours to complete. I'm happy for Anacron not to commence the script if the laptop is running on batteries, but once started, ...
1
vote
2answers
297 views

What does the package UPower output if on a desktop

On Ubuntu 12.04, if I use the command: upower -i /org/freedesktop/UPower/devices/battery_BAT0 It will output all of the statistics for the battery. However, what does it output if I am using a ...
3
votes
0answers
163 views

Exynos 5 DVFS or turning off cores in Ubuntu - Scaling frequency for one of the cores only (dual core) (cpufreq)

I was wondering if there is possible to scale only one of the cpu cores in the A15 in Exynos 5 ? I have tried using e.g cpufreq-set -c 1 -f 500MHz, but both cores are set to the same frequency. When ...
1
vote
1answer
470 views

Opening lid results in black screen (Dell Laptop with ATI Graphics, Ubuntu 12.04, 3.2 kernel, GNOME 3)

For the past few weeks, when opening the lid my laptop often fails to recover from suspension leaving me with a blank screen. Further, when this bug occurs, the laptop fans continue to run while the ...
1
vote
0answers
1k views

Intel Core i3/i5/i7 Sandy Bridge CPU throttling

Intel Sandy-Bridge family i5 Core CPU, running Linux kernel 3.2 (Debian Squeeze/Wheezy), under heavy computation load, does not react to to cpufreq-set -g powersave (using acpi_cpufreq module). It is ...
2
votes
5answers
6k views

Ubuntu 12.10 Fan overspeeding

I have installed Ubuntu 12.10 leaving Win 7 licensed version. But again as usual I need to fix so many issues. This time fan is generating lots of noise. It looks it is running at max speed. My ...
5
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 ...
0
votes
0answers
388 views

Undervolting in Linux

Could you recommend me something different like Linux-PHC for undervolting in Linux? I would like to undervolt my AMD Phenom 9850 CPU. I am using Debian squeeze x64. For underclocking I use ...
6
votes
1answer
734 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 ...
1
vote
3answers
902 views

Why kernel 3.6.2 is so much less energy efficient than 3.6.1 on Mint 13?

I noticed, that the power consumption in my ASUS P53E notebook is doubled (from 10W to 20W) when I change from kernel 3.6.1 to 3.6.2 (or later). I use Ubuntu Quantal mainline kernel from ...
7
votes
1answer
448 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 ...
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 ...
7
votes
1answer
274 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 ...
2
votes
2answers
589 views

How to increase the timer before drive spins-down?

I use Ubuntu 12 beta on a Lenovo Z575. I noticed that the disk spins down a few seconds after the last operation. When I am working, e.g. in the vim and write quite often, it spins-up and -down ...
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 ...
0
votes
1answer
171 views

Battery management - are there differences between distros?

I have heard that Linux, in general, has poor notebook battery management: the battery lifetime is reduced significantly (I have noticed it on my MacBook 2.1 with Ferdora installed) Are there any ...
2
votes
0answers
740 views

on puppy linux, how to manage power settings

I'm new to using Puppy Linux, and I'm not able to find a way to manage power settings. The laptop stops working everytime I close and re-open the lid so I want to disable that function from doing ...
0
votes
1answer
425 views

CPU governor settings

What are CPU governor settings? How can I get their values, if they're set? I have 24 vCPUs on my machine.
1
vote
1answer
1k views

How to power off USB stick or MMC card under linux?

Usually I just unmount the usb stick or mmc before unplugging it but I'd prefer to turn the power off before doing so. I think Windows does this, so the hardware should allow for turning off the power ...
2
votes
1answer
2k views

Power off USB storage device/port to avoid power consumption

A connected USB storage device, even if unused (unmounted, etc.), consumes power. How can I turn it off / turn its power off so that it doesn't consume power as if it was disconnected, but without ...
4
votes
2answers
368 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 ...
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 ...
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 ...
5
votes
2answers
3k 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 ...
9
votes
5answers
10k 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 ...
5
votes
3answers
339 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. ...
4
votes
2answers
794 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
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 ...
2
votes
0answers
825 views

power management of USB-enclosed hard drives [closed]

With a typical USB hard drive enclosure, is the full range of drive power management functionality available? edit: moved this into a separate question: In what may be an unrelated matter: is it ...