Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my Ubuntu (server) installation I'm tweaking some power parameters. But most of these parameters such as /sys/class/scsi_host/host0/link_power_management_policy keep getting reset. I have inspected some of my log files and it seems that pm-powersave false is executed on each boot (from /var/log/pm-powersave.log)

How can I prevent this from executing on each boot?

share|improve this question

pm-powersave is a utility to manage the power-saving configuration of the computer when it is connected to the AC and when it works on battery. You should make the changes you desire to the pm-powersave config files (for AC/Battery respectively). You can find more information about the issue here.

In my case, as I want to save as much energy as possible in both cases (AC/Battery), I copied the files from /usr/lib/pm-utils/power.d to /etc/pm/power.d and edited them to always work like in battery mode. At the end of each file, functions are called in depending of the received value (true for battery and false for AC). So, I replaced all AC function with the ones for battery. Then I added the script in the link above, with some modifications (not so aggresive) and replaced again the AC function calling with the Battery one.

share|improve this answer
How does that answer the question? What is causing it to run? – nafg May 2 '13 at 8:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.