In admin(root) text console
1 Ask to Powertop to collect data to make fine tuning of your system.
powertop --calibrate
- Ask to Powertop to make a diagnosis and what it advise to you
powertop --html=<path>/powertop_diag.html
- 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”
- 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
- 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
- Open yast services manager
search and select “powertop_tuning”
enable the service by clicking on “Enable/disable”
then click on “OK”
- 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”
- 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