powersaving settings with powertop for your PC(desktop)

In admin(root) text console

1 Ask to Powertop to collect data to make fine tuning of your system.

powertop --calibrate

  1. Ask to Powertop to make a diagnosis and what it advise to you

powertop --html=<path>/powertop_diag.html

  1. With your browser open powertop_diag.html

click on “Tuning”

hold on “CTRL” key

in “script” column on the first statement click and hold on the click
drag to the last statement

right click on the selected statements then select “copy”

  1. Somewhere create a text file powertop_tunings.sh

in its properties check the parameter “is executable”

open with your text editor powertop_tuning.sh

past the previously copied statements in the file

record and close the file

  1. AS root copy powertop_tunings.sh to /usr/bin/

6 As root create in /etc/systemd/system/ a file powertop_tunings.service

i this file copy the following statements:

[Unit]
Description=Powertop tunings

[Service]
Type=oneshot
ExecStart=/usr/bin/powertop_tunings.sh

[Install]
WantedBy=multi-user.target

record and close the file

  1. Open yast services manager

search and select “powertop_tuning”

enable the service by clicking on “Enable/disable”

then click on “OK”

  1. Restart your PC

open a root text console

then

launch powertop by typing powertop

go to “Tunables” with the “tab” key

check all is “good”

  1. Warning

tested with opensuse 13.1 x86_64

some device dysfunction when their suspend mode is activated.

for example sound chipset , usb port, usb device etc.

my logitech usb mouse in suspend mode “auto” is inactivated in a delay of one second if i don’t use it. i am always being activating it by left clicking. it is not handy.

in this case comment the statement of the concerned device in powertop_tunings.sh

Thx for the post!
Powertop looks like a really interesting utility, used to tune power consumption utilizing some new kernel power management features introduced in the 3.x kernel.

If you don’t mind, somewhere down the road I’d like to modify the steps in your post to script out the install to make installation a “one click” task.

That is, unless someone beats me doing it before I get around to it… :slight_smile:

TSU