Java Desktop System Release 3 Troubleshooting Guide

2.8 Powersave

2.8.1 Suspend Option Fails


  • Linux


Change Request Number: 6215635 

When you invoke Powersave using the --suspend option, the system is not suspended. The following error message is displayed: An error occurred when trying to connect to powersave daemon: -2


Note: You can only use this workaround from the command line when you are logged in as root. You cannot suspend the system using the Battery Charge Monitor suspend command.

Perform the following steps: 

  1. Read the following file /usr/share/doc/packages/powersave/READ*

  2. Enter the following command:

    lsmod | grep agp

  3. Edit the file /etc/hotplug/blacklist.

    Add the output of the command you entered in Step 2 to /etc/hotplug/blacklist

  4. Edit the /etc/powersave.conf file.

    Set the value of *_DISABLE to no

  5. Enter the following command:

    cp /etc/sysconfig/powersave/common /etc/sysconfig/powersave/common.orig

  6. Enter the following command:

    cp /usr/share/doc/packages/powersave/controb/common_ACPI \ > /etc/sysconfig/powersave/common

  7. Edit the /etc/sysconfig/powersave/sleep file and set the value of the following parameters to no:




  8. Edit the /etc/sysconfig/powersave/common and set file and set the value of the POWERSAVED_SECURITY parameter to all.

  9. Enter the following commands:

    powersave --suspend

    powersave --standby

  10. Reboot your system.