Skip to contentSkip to conversation

How to make powertop auto-tun when AC power is unpluged?

Powertop 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw> 2 participants 3 messages Apr 4, 2013

lore
Share & tools
lore

陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw>

#0 lore raw

Hi all,

powertop is a great tool, and I love it. However, there is a place I
would like to know if it can be improved or done. When the AC power is off, I always have to turn on those tunable options shown in powertop to save power. Is it possible to make powertop do that automatically for me?

T.I.A.

Regards,
chenwj

Signature · 5 lines
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
#1 lore raw
Quoted 5 lines · 陳韋任 (Wei-Ren Chen)

powertop is a great tool, and I love it. However, there is a place I
would like to know if it can be improved or done. When the AC power is off, I always have to turn on those tunable options shown in powertop to save power. Is it possible to make powertop do that automatically for me?

please look at the previous threads on the mailinglist about this topic - the short answer is no - your linux distributions should be tuning these settings. PowerTOP is a diagnostics tool, and it is not the right place to set power bits permanently in the system.

Cheers,

Auke

#2 lore raw
In reply to 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw>

Hi,

Obviously powertop is not meant to be an automatic tool to tune the power
settings for you. :) From the information gathered with powertop, you can try tools like laptop-mode-tools or other dbus hooks available in the distro you use and see what's missing.

Quoted 24 lines · 陳韋任 (Wei-Ren Chen)

Hi all,

powertop is a great tool, and I love it. However, there is a place I
would like to know if it can be improved or done. When the AC power is off, I always have to turn on those tunable options shown in powertop to save power. Is it possible to make powertop do that automatically for me?

T.I.A.

Regards,
chenwj

--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
_______________________________________________
PowerTop mailing list
PowerTop(a)lists.01.org
https://lists.01.org/mailman/listinfo/powertop

Signature · 2 lines
Best regards,
Yuan Chao