powersaved

Langue: en

Autres versions - même langue

Version: 305717 (debian - 07/07/09)

Section: 8 (Commandes administrateur)

NAME

powersaved - supports APM and ACPI: three battery states, proper standby/suspend, cpu frequency scaling and other power management tasks

SYNOPSIS

powersaved [ options ]

DESCRIPTION

Daemon that waits for apm and acpi events or for socket connections from an authorized user. It may also generate self defined events while polling the hardware (battery, cpu, temperature).

OPTIONS

-v
Set the debug level, allowed values: 0-31
  1  Error
  2  Warning
  4  Diag
  8  Info
  16 Debug e.g. Error + Warning: 1 + 2 -> 3 (sum up wanted levels like in chmod)
-x
Set the path to executables that will be executed depending on the events configuration file (default: /usr/lib/powersave/scripts)
-y
Set the path to executables that will be executed for internal events and by the event scripts (default: /usr/lib/powersave)
-d
Daemonize process
-f FILE
The file powersave daemon gets informed about ACPI events. Default is /proc/acpi/event. You may want to provide the socket file of the acpid to access ACPI events. This allows accessing ACPI events for multiple services/applications.
-c DIR
Sets the configuration directory (default /etc/powersave). General configuration files are:
  battery
  common
  cpufreq
  disk
  events
  sleep
  thermal
-s DIR
Sets the directory for Scheme configuration files (new ones could be added and switched to, default is /etc/powersave):
  scheme_performance   (default scheme when working on AC power)
  scheme_powersave     (default scheme when working on battery power)
-n
Disables CPU frequency scaling. In case this feature may cause trouble.
-h
Print syntax

NOTICE

Because some features are still experimental they are not enabled by default (e.g. standby/suspend, ACPI battery notification). You also may want to tune the daemon for your needs. On SUSE systems, you can use the YaST power management module. On other systems, you can have a look in the config files for extended configuration (see below).

User management is now solved through DBus. A configuration file should be placed into the DBus config directory (e.g. /etc/dbus-1/system.d) called powersaved.conf. Use this file to manage which users are allowed to contact the powersave service.

There may be weird bugs which result from ACPI BIOS errors of machines. Please check the /proc/acpi directory and dmesg output for any acpi errors. Contact your hardware vendor and install the newest BIOS update.

BUGS

Standby and Suspend to RAM using ACPI is still experimental and may fail on some machines. See /var/log/susp*.log and /var/log/standby.log (and resume) log files to figure out which module/HW component could cause the fail.

AUTHOR

powersave daemon has been written by Thomas Renninger <mail@renninger.de>

Inspiration and code parts partly come from the acpid, apmd and cpuspeed (former cpufreqd implemented by Carl Thompson) packages. Many thanks to all developers who helped to create this software.

SEE ALSO

powersave(8) /etc/powersave/* /usr/share/doc/powersaved http://powersave.sourceforge.net