Power management

From Gentoo Wiki
Jump to: navigation, search
External resources

This articles describes methods to save energy for a longer battery runtime, for a more quiet computer, for lower power cost and for conserve the environment.


Disable unused devices right in the BIOS, e.g.:

  • Serial ports
  • Parallel ports
  • Ethernet network devices
  • Bluetooth controllers


Devices, which can save energy during runtime:

Multi- devices/subsystems power management

Udev rules to automize power management

FILE /etc/udev/rules.d/10-local-powersave.rules
# PCI runtime power management
ACTION=="add", SUBSYSTEM=="pci", ATTR{power/control}="auto"
# USB autosuspend
ACTION=="add", SUBSYSTEM=="usb", ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend" ATTR{power/autosuspend}="60"
# SATA active link power management
SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="min_power"
# Wlan power save
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*" RUN+="/usr/sbin/iw dev %k set power_save on"
# Disable bluetooth
SUBSYSTEM=="rfkill", ATTR{type}=="bluetooth", ATTR{state}="0"
# Disable wake-on-LAN
ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*" RUN+="/usr/sbin/ethtool -s %k wol d"

Other Resources