Difference between revisions of "Power management"

From ArchWiki
Jump to: navigation, search
m (Kernel Command Line Parameters: deduplication)
m (merge suggestion)
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
[[Category:Power management]]
 
[[Category:Power management]]
 +
{{Merge|Power saving|probably most general article on ArchWiki on this topic}}
 
{{Stub|The purpose of this article currently overlaps other introductions like [[General Recommendations#Power management]] and [[Laptop#Power Management]]; application-specific information must be moved to the respective articles; only a generic introduction to power management in Arch and to related articles should stay here.}}
 
{{Stub|The purpose of this article currently overlaps other introductions like [[General Recommendations#Power management]] and [[Laptop#Power Management]]; application-specific information must be moved to the respective articles; only a generic introduction to power management in Arch and to related articles should stay here.}}
 
The aim of this page is to try to gather all the informations which are available on the topic of linux power management features. There are several places where one can change power management settings:
 
The aim of this page is to try to gather all the informations which are available on the topic of linux power management features. There are several places where one can change power management settings:
Line 11: Line 12:
 
==Power saving==
 
==Power saving==
 
See [[power saving]].
 
See [[power saving]].
 
== Where To Change Power Settings ==
 
One can pass a kernel command line parameter in the boot loader to activate power management features in certain kernel modules. If you are using systemd you can change some power management options in systemd config files or execute your own config file. pm-utils and upower work together. pm-utils is responsible for changing the power management options while upower informs pm-utils about system changes. For example, if you unplug your laptop from AC power then upower will signal to pm-utils that the laptop is running on battery. This will cause pm-utils to change some power management options according to its config files.
 
 
Have a look at the [[:Category:Power management|power management category]] to get an overview on what power management options exists in Archlinux:.
 
  
 
== Kernel Command Line Parameters ==
 
== Kernel Command Line Parameters ==

Revision as of 15:02, 26 June 2013

Merge-arrows-2.pngThis article or section is a candidate for merging with Power saving.Merge-arrows-2.png

Notes: probably most general article on ArchWiki on this topic (Discuss in Talk:Power management#)

Tango-document-new.pngThis article is a stub.Tango-document-new.png

Notes: The purpose of this article currently overlaps other introductions like General Recommendations#Power management and Laptop#Power Management; application-specific information must be moved to the respective articles; only a generic introduction to power management in Arch and to related articles should stay here. (Discuss in Talk:Power management#)

The aim of this page is to try to gather all the informations which are available on the topic of linux power management features. There are several places where one can change power management settings:

Power settings you set in one place could be overwritten in another place.

Power saving

See power saving.

Kernel Command Line Parameters

See Kernel modules#Using kernel command line for more information.

Enable RC6 Power Save Options

 i915_enable_rc6=#Nr

Where #Nr:

  • 1: enable rc6
  • 3: enable rc6 and deep rc6
  • 5: enable rc6 and deepest rc6
  • 7: enable rc6, deep and deepest rc6

Troubleshooting

Connection problems with Atheros AR9485 Wireless Network Adapter

You may experience connection problems with the Atheros AR9485 Wireless Network Adapter, which is caused by incorrect power management functioning. You can notice the problem if you're experiencing random disconnections in IM or other software that keeps connection alive for a long time. In case you're using laptop, first you must disable battery power-over-perfomance feature: Settings / Power Manager / On Battery / Prefer power savings over perfomance

Next thing to do is switch off power management for adapter: You should add

iwconfig wlan0 power off
(assuming wlan0 is your AR9485 adapter) anywhere it can be executed on system init (or simply run it once, to fix the problem for current session) and that should do it.

See Also

CPU Frequency Scaling