Sunday, November 04, 2007

KPowersave 0.7.3 released

Some days ago I released the next version of KPowersave (v0.7.3). Also if this is a package is marked on sf.net as 'unstable', which mean it's from the development tree, this is a really stable version.

Here a list of the major changes since the last release:

  • new feature autodimm, which allow to reduce the brightness of the display automatically if the user get inactive (after a defined time) and dimm up if the user get active again
  • new dialog shown up 30 seconds before autosuspend call the suspend, to warn the user and allow chancel the suspend
  • new dialog to show logfiles if a suspend/resume fail and allow the user to save the log (need to get enabled per distribution, depending on the suspend solution)
  • added code to check if the current desktop session is active and handle usecases if the session get inactive (via ConsoleKit)
  • KPowersave work with new PolicyKit/ConsoleKit/HAL combination and checks if the user is privileged (for HAL >= 0.5.10 and related PolicyKit versions)
  • prepared to work also with HAL >= 0.5.10 (handle renamed policy names in HAL)
  • release/aquire org.freedesktop.Policy.Power if the session get inactive/active to allow powersaved or other active KPowersave instances to handle powermanagement
  • use now kdebug functions instead of own macros, added --dbg-trace option to allow trace function entry and leave points

The release contains also many smaller changes and lots of bugfixes and translation updates. For a complete list of changes, take a look at the package Changelog or the commit log which is part of the source.

You can download the source and rpms as always via kde-apps.org or directly via the sourceforge project page. On sf.net are besides the source tar.bz2 already packages for these distributions (for ix86 and x86_64) available: Mandriva 2007.1/2008, openSUSE 10.2 (also for ppc) and Fedora Core 6/7/8. The package is already part of the released openSUSE 10.3.

Tech Tags:

12 comments:

Rudi said...

Is there any workaround which will allow you to use suspend to disk with encrypted swap?

Bernhard said...

Is there any one else out there having the problem that the hal daemon fails to start on boot?

Holger said...

If you're talking about openSUSE, have a look here: https://bugzilla.novell.com/show_bug.cgi?id=331002

This might be the cause for your problem. An online update should be out as soon as possible.

Bernhard said...

yeah.. sry.. i forgot to mention that I'm indeed using opensuse 10.3. Thanks for the bugzilla entry. Haven't thought about searching there. Thought it was my fault.

Danny said...

[qoute=rudi]Is there any workaround which will allow you to use suspend to disk with encrypted swap?[/quote]

Sorry, I have no knowledge about s2disk with encrypted swap, but this base all on or suspend solution and not on KPowersave. KPowersave doesn't care about such suspend details, this is the job of the underlaying suspend tool as e.g. pm-utils.

Danny

Robert said...

This is such an awesome app. It makes power management stuff so much easier!

There is only one thing left that is still on my wish list for it: automatic CPU throttling based on CPU temperature. KLaptop used to be able to do this, I think. On my wife's chronically overheating laptop, that was a life-saver. Is temperature control in the plans at all for kpowersave?

Stefan said...

Are you working on a KDE 4 port? If yes, I would really love to see KPowersave turning off KWin's desktop effects in powersave modes.

Anonymous said...

Hi Danny, Great job! Kpowersave has kept on improving since I first used it.

I have Mandriva 2008 running on a macbook, and the default suspend to RAM doesn't work, but >s2ram -f does.

Is there any way to configure Kpowersave to call this command for a S2RAM call?

Is there a better way for me to ask this question than an anonymous post attached to this blog entry?

Thanks again!

Danny said...

Is there any way to configure Kpowersave to call this command for a S2RAM call?

No, KPowersave simply call HAL to do the suspend2ram, which may calls s2ram directly or (and this is the common way) pm-utils. You have to check what you installation/distribution do. You can set -f maybe somewhere in the HAL related script or better in pm-utils of needed.

But the best way would be this one:
Read the following side and report the results back to the s2ram developers:
http://en.opensuse.org/S2ram

They can whitelist your machine so that you don't need the -f parameter.

Danny said...

Stefan said: Are you working on a KDE 4 port? If yes, I would really love to see KPowersave turning off KWin's desktop effects in powersave modes.

I plan to do it, but was to busy to work on the port. We already discussed the whole powermanagement stuff at the aKademy 2007, I need simply to start working on the code. I hope everything is ready for/with KDE 4.1

Anonymous said...

How can I add an "Hibernate" item (like the "Suspend to RAM" and the "Suspend to Disk" options?

My system hibernates ok with the command "dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer org.freedesktop.Hal.Device.SystemPowerManagement.Hibernate"

Editing the /etc/kde3/kpowersaverc file?

Debian SID (kpowersave 0.7.3-3). kernel 2.6.26-1-686

Thanks for this great and good job Danny.

empanada

Anonymous said...
This comment has been removed by a blog administrator.