1.14. Controlling Your Desktop's Power Management with KPowersave

KPowersave is a small panel applet which allows you to control all power management functions supported by your system with just a few clicks on the desktop. You can track power consumption and CPU frequency, choose another power management scheme to match the tasks your system is facing, and send your system into suspend or standby state by just clicking the applet.

1.14.1. Tracking the Current State

For a quick check of how your system is doing and which power management measures have been taken, left-click the KPowersave panel icon.

Abbildung 1.18. Tracking the Current Power Management State

Tracking the Current Power Management State

Apart from telling you at which speed your CPU or CPUs are running, KPowersave provides detailed information on the power saving mode your system is in:

Current Scheme

Power management settings can be tied in to certain requirements your system needs to meet. This is done by assigning schemes.

Set brightness supported

Some hardware supports the dimming of your monitor's brightness as a means to save power.

1.14.2. Suspending Your Computer

Whenever you need to cut down power consumption and you do not need to run your system continuously, consider using one of the three suspend modes supported by openSUSE:

Suspend to Disk

All your data and the session data is saved to disk before the system is laid to rest. It is thus protected against data loss should you loose power in the meantime. Waking the system up again is much faster than booting it from scratch.

Suspend to RAM

All your data and the session data is saved to RAM. Bringing the system up again is faster than restoring a session from disk.

Standby

Your data is written to RAM, the display is shut down, but the system keeps running.

Whether all of these are available or just one or two depends on the capabilities of your hardware. To trigger your system to enter one of these modes, right-click the panel icon and select the respective option.

1.14.3. Saving Power by Using Schemes

Power management schemes let you adjust various power management parameters to the requirements of certain typical situations you are facing when using your machine. KPowersave ships with a set of four preconfigured schemes which you can adjust to your needs. To switch schemes with KPowersave just right-click the panel icon and select Set Active Scheme. The following schemes are available:

Performance

Keep your machine running with full power and full speed to achieve maximum performance.

Acoustic

Apply any measure that makes sure your machine runs as quietly as possible.

Presentation

Disable any display power management and screen savers to make sure that your presentation is not interrupted by a blanked display or such like.

Powersave

Apply aggressive power management methods to make sure that your machine runs as long as possible when put on battery power instead of AC power.

1.14.4. Configuring Notifications

KPowersave provides various types of feedback upon certain events. To open the notification configuration dialog, either right-click the panel icon and select Configure Notifications or select Configure KPowersave+General Settings+Configure Notifications.

Abbildung 1.19. Configuring KPowersave Notifications

Configuring KPowersave Notifications

KPowersave supports several different types of notifications that can be associated with different events. The most prominent of them are:

Sounds

Select one of the KDE system sounds to be played.

Logging

Specify the full path to a file where KPowersave should log to.

Program Execution

Specify the full command for a program that should be executed.

Message Windows

Have KPowersave throw a pop-up window.

Passive Windows

Have KPowersave throw a passive window that does not pull focus.

Basically, there are two different ways to configure KPowersave notifications. Either use the Quick Controls to toggle the notification status of multiple events at once or use the Actions settings to configure them one by one.

1.14.5. Configuring KPowersave

The KPowersave settings dialog comprises two different groups of settings:

Scheme Settings

Detailed configuration for all power management schemes supported by KPowersave.

General Settings

Miscellaneous options related to KPowersave's behavior, such as screen locking, auto-suspend, notification and autostart behavior.

1.14.5.1. Configuring Schemes

Power saving schemes in KPowersave offer controls to:

  • Enable or disable a screen saver

  • Enable or disable display power management

  • Change the brightness of your display to reduce power consumption

  • Enable or disable auto-suspend of your machine

  • Enable or disable notifications KPowersave events

You can modify any of the preconfigured schemes, but you cannot delete them or add new ones.

To configure a KPowersave scheme, proceed as follows:

  1. Right-click the panel icon and select Configure KPowersave+Scheme Settings.

  2. Select the scheme you want to modify.

  3. Open the Screen Saver and DPMS tab and determine whether your scheme requires specific tuning of the screen saver settings. If using your machine in presentation mode, you should consider disabling the screen saver altogether. If you want your display to automatically enter powersaving modes after a certain period of time, activate Enable specific display power management and enter the number of minutes after which the display should use power management.

  4. If your display hardware supports reducing the brightness for power saving reasons, open the Brightness tab, select Enable scheme specific Brightness settings and set the brightness value.

  5. If you want your machine to automatically suspend (to disk) after a certain period of time, open the Autosuspend tab, select Enable autosuspend and determine when the machine should automatically enter suspend. To avoid problems with applications whose state cannot be properly restored when your session is resumed, maintain a blacklist of these applications via Edit Blacklist. If any of these applications is running, KPowersave does not automatically suspend your desktop.

  6. If you want KPowersave to work quietly, turn of notifications for powersave events by entering the Miscellaneous tab and selecting Disable Notifications.

  7. Click OK to apply your settings and leave the configuration dialog.

1.14.5.2. Configuring General Settings

If you want the screen to be locked before the system enters suspend or standby, activate the Lock Screen control and choose a screen saver. A locked screen might keep unauthorized users off this machine.

If you want your machine to enter suspend after a certain period of idleness, be aware that several applications can cause problems with auto-suspend. Use a black list to keep KPowersave from triggering a suspend action when one or more of the listed applications are running.

To configure notifications, select Configure Notifications and proceed as described above. The dialog described here is exactly the same as if you had right-clicked the panel icon and selected Configure Notifications.

To configure KPowersave to be automatically started on login, select KPowersave starts automatically on login. If you select Never ask me again on exit, you will not be asked whether KPowersave should be automatically started when you exit a session that had not previously included KPowersave in the list of tasks to be started automatically.