Difference between revisions of "Power management"

From ArchWiki
Jump to: navigation, search
m (merge suggestion)
(cleanup)
Line 1: Line 1:
 
[[Category:Power management]]
 
[[Category:Power management]]
{{Merge|Power saving|probably most general article on ArchWiki on this topic}}
+
{{Article summary start}}
{{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.}}
+
{{Article summary text|Describes power management in Arch Linux.}}
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:
+
{{Article summary heading|Related}}
* Kernel command line parameters in the boot loader
+
{{Article summary wiki|Power saving}}
 +
{{Article summary end}}
 +
The purpose of this page is to provide general overview of power management in Arch Linux. As Arch Linux uses [[systemd]] as system manager, this article focuses on it.
 +
 
 +
There are multiple places where one can change power management settings:
 +
* [[Kernel parameters]]
 +
* [[Kernel modules]]
 +
* [[udev]] rules
 +
 
 +
{{Note|Power settings you set in one place could be overwritten in another place.}}
 +
 
 +
There are also many power management tools:
 
* [[systemd]]
 
* [[systemd]]
* Settings by [[pm-utils]]
+
* [[pm-utils]]
* {{pkg|Upower}}
+
 
* [[Laptop Mode Tools]]
 
* [[Laptop Mode Tools]]
Power settings you set in one place could be overwritten in another place.
+
* [[TLP]]
  
==Power saving==
+
== Troubleshooting ==
See [[power saving]].
+
  
== Kernel Command Line Parameters ==
+
=== Enable RC6 Power Save Options ===
  
See [[Kernel modules#Using kernel command line]] for more information.
+
{{Merge||find some better place for this section}}
 +
{{Expansion|describe the states better; it may be platform dependent}}
  
=== Enable RC6 Power Save Options ===
 
 
   i915_enable_rc6=#Nr
 
   i915_enable_rc6=#Nr
 
Where ''#Nr'':
 
Where ''#Nr'':
Line 25: Line 34:
 
* '''7''': enable rc6, deep and deepest rc6
 
* '''7''': enable rc6, deep and deepest rc6
  
== Troubleshooting ==
 
 
=== Connection problems with Atheros AR9485 Wireless Network Adapter ===
 
=== Connection problems with Atheros AR9485 Wireless Network Adapter ===
 +
 +
{{Moveto|Network Configuration#Troubleshooting|there are several similar sections, like [[Network_Configuration#No_eth0_with_Atheros_AR9485]]}}
 +
 
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 [[Wikipedia:Instant messaging|IM]] or other software that keeps connection alive for a long time.
 
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 [[Wikipedia:Instant messaging|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:
 
In case you're using laptop, first you must disable battery power-over-perfomance feature:
Line 36: Line 47:
  
 
== See Also ==
 
== See Also ==
[[CPU Frequency Scaling]]
+
* [[Laptop#Power management]] describes power management specific for laptops - especially battery monitoring.
 +
* [[CPU Frequency Scaling]]
 +
* [[General Recommendations#Power management]]

Revision as of 00:12, 27 July 2013

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary end The purpose of this page is to provide general overview of power management in Arch Linux. As Arch Linux uses systemd as system manager, this article focuses on it.

There are multiple places where one can change power management settings:

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

There are also many power management tools:

Troubleshooting

Enable RC6 Power Save Options

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

Notes: find some better place for this section (Discuss in Talk:Power management#)

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: describe the states better; it may be platform dependent (Discuss in Talk:Power management#)
 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

Connection problems with Atheros AR9485 Wireless Network Adapter

Template:Moveto

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