KPowersave

System Software

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

KPowersave is the KDE frontend for powermanagement. It provides battery monitoring, suspend/ standby triggers and many more powermanagement features for KDE (and GNOME).

Current feature list:
- support ACPI, APM (and PMU since 0.7.x)
- trigger suspend to disk/ram and standby
- switch cpu frequency policy (between: performance, dynamic and powersave)
- applet icon/tooltip with info about AC state, and battery fill/(warning) states, remainig time
- scheme specific settings (see below)
- autosuspend (to suspend if a user was a defined time inactive)
- autodimm
- a global and scheme specific configurable blacklist with programmes to prevent autosuspend/autodimm (e.g. videoplayer and cd burning tools)
- trigger lock screen on lidclose ans suspend and select the lock methode
- define battery warning levels and related actions if a level reached
- actions for special button events (power/lid/suspend/sleep buttons)
- define AC/Battery default scheme
- KNotify support for many events
- online help and localisations

- KPowersave support schemes with following configurable specific settings for:
* screensaver/DPMS
* brightness (if supported by hardware)
* autosuspend/autodimm
* scheme specific blacklist for autosuspend/autodimm
* CPU Frequency Policy

- KPowersave contains a detailed dialog (on left mouse button on the applet icon) with all PM relavant info

To run KPowersave you need currently:
- dbus/dbus-qt3 (http://www.freedesktop.org/Software/dbus)
- HAL >= 0.5.9 (http://www.freedesktop.org/Software/hal)

Additionaly you can use the powersave daemon to handle powermanagement if no user is logged in to the system (http://sourceforge.net/projects/powersave/).

For (additional) dependencies see the project homepage and documentation.

If you run KPowersave on KDE you can remove klaptop from your system. KPowersave was developed as a replacement.

KPowersave and powersave are (as we know) running on this distributions:
* SUSE Linux (defaultly, available RPMs are for 10.0, for 10.1/10.2/10.3 see related repositories (www.opensuse.org), for 9.2/9.3 see older version on sf.net available)
* ALTLinux: default
* K/Ubuntu: from universe repository
* Debian: available via 'apt-get install kpowersave'
* Fedora Core 6/7/8 (sf.net)
* Mandriva 2007/2008(sf.net)
* Gentoo (ebuilds see download link)
* Arch Linux
* Slackware (http://www.mytux.org/content/viewslackpackage.php)
* (Simply)Mephis (since 6.0 default)
* FOX Linux (default)
* RR/RR64 Linux (default)
* PLD Linux (devel tree)
* Aurox (devel tree)
* Pardus
Packages and porting information for other distributions would be appreciated.

To get always actual news about updates and new versions subscribe to new releases at the project homepage: http://freshmeat.net/projects/kpowersave

-----------------
Copyright (C) by:
* Danny Kukawka (2004-2007)
* Thomas Renninger (2004)
Last changelog:

13 years ago

For more information about current development see:

http://dkukawka.blogspot.com/.

-----------------------------------

For current changelog and news see:
https://sourceforge.net/project/shownotes.php?release_id=542867&group_id=124576

---------------------------------------
29. Oct. 2007
---------------------------------------
KPowersave 0.7.3:

Major changes since the last version/release:
- added new dialog to show logfiles if a suspend/resume fail and allow the user to save the log (need to get enabled per distro)
- added support to handle brightness key events if the machine not already handle this in the hardware directly
- added new feature named autodimm to reduce the brightness of the display if the user is inactive 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
- added code to work with new PolicyKit/ConsoleKit/HAL combi to check if the user is privileged (for HAL >= 0.5.10 and related PolicyKit versions)
- added code to check if the current desktop session is avtive and handle if the session get inactive (via ConsoleKit)
- added code to release/aquire org.freedesktop.Policy.Power if the session get inactive/active to allow powersaved or other active KPowersave instances to handle powermanagement
- prepared KPowersave to work also with HAL >= 0.5.10 (handle renamed policy names in HAL)
- use now kdebug functions instead of own macros, added --dbg-trace option to allow trace function entry and leave points.

Minor changes:
- added wodim to autosuspend blacklist
- changed logic for resume if a timeout happen
- change default timeout to fake keyevent for locked screen to 2.5 sec
- don't fake key event after locked screen and lidopen if config variable timeToFakeKeyAfterLock = 0
- added new config variable (callSetPowerSaveOnAC in [general] section) to disable call SetPowerSave() on HAL.
- fix code to guess if a 6-hour-timeout occours while suspend/resume or if there was really a error
- removed Portuguese version of the help, since only one paragraph was translated
- fixed configure script to detect if we should use HAL to get information about policies instead of PolicyKit
- force update detailed dialog on AC events to get always e.g. the correct scheme info in the dialog
- reworked code for mouse wheel events to reuse code for brightness keys
- several HAL/D-Bus/PolicyKit/ConsoleKit related fixes/updates
- cleanup code, fixed compiler warnings, added new functions to removed doubled code

This release contains many bugfixes and translation updates. For more follow the Changelog.

---------------------------------------
[18. Feb 2007, 0.7.2][21 Nov 06, 0.7.1][02 July 06, 0.6.2]
[14 May 06, 0.6.1][11 Apr 06, 0.6.0]

C

dkukawka

13 years ago

We found the reason for the not working autosuspend feature. The problem is the path for pidof in the code (/sbin/pidof). On Gentoo this is /bin/pidof. We fixed this for the next release, you can workaround this if you add a link to /sbin/pidof.

Report

shades

13 years ago

darn! i can't compile this!
emerged last hal, last dbus but... i can't compile this thing...
need a little help here! what's the stress?
using gentoo-2.6.15-r1(gentoo-sources)

maia@kasper kpowersave-0.5.4 $ make
make all-recursive
make[1]: Entering directory `/home/maia/downloads/kpowersave-0.5.4'
Making all in doc
make[2]: Entering directory `/home/maia/downloads/kpowersave-0.5.4/doc'
Making all in .
make[3]: Entering directory `/home/maia/downloads/kpowersave-0.5.4/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/maia/downloads/kpowersave-0.5.4/doc'
Making all in en
make[3]: Entering directory `/home/maia/downloads/kpowersave-0.5.4/doc/en'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/inline.xsl line 856 element a
Attribute template href: failed to compile $id
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/admon.xsl line 83 element img
Attribute template alt: failed to compile $alt
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl line 140 element meta
Attribute template content: failed to compile $VERSION
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 43 element div
Attribute template style: failed to compile $kde.common
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 195 element div
Attribute template style: failed to compile $kde.common
unable to parse ./index.docbook
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/home/maia/downloads/kpowersave-0.5.4/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/maia/downloads/kpowersave-0.5.4/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/maia/downloads/kpowersave-0.5.4'
make: *** [all] Error 2

Report

shades

13 years ago

yes, the problem was with xsl libraries.
for people having the same problem:

ACCEPT_KEYWORDS="~x86" emerge libxslt

Report

C

dkukawka

13 years ago

Could you provide/send a ebuild for (K)Powersave?

Report

shades

13 years ago

hum... i've never created an ebuild before. i could do it if i wasn't completly stacked out of work... i'm on my final exams, finishing my final project on bioinformatics, and another project on advanced functional programming. if no one does it before the 21st february, i'll do it myself. otherwise... i won't :S
sorry :P

Report

C

dkukawka

13 years ago

You couldn`t only compile the help. Looks as if you miss some xls or KDE doc packages.

Report

Esaltato

13 years ago

the tar.bz2 link takes to the RPM download.

Report

C

dkukawka

13 years ago

Thanks for the info ... fixed now.

Report

miguipda

13 years ago

please generate a .deb file to be able to use your so useful program (sincerely great) with ubuntu (debian).

Thanks a lot for this if you do it.

Have a nice day.

Report

C

dkukawka

13 years ago

If you take a look in the description, there are already dep files for debian/ubuntu available (currently v0.5.2).

On Debian you can get KPowersave/powersave with 'apt-get install kpowersave' and for Ubuntu you can download packages from http://www.teco.edu/~biebl/ubuntu

I think the packages will be updated as soon as possible by the debian/ubuntu package maintianer/packager (Michael Biebl).

Report

jojob

13 years ago

It works like a charm on my fc4 laptop.
Thank you.

Report

blaster999

13 years ago

I've compiled and installed both powersave and kpowersave, but when I start the latter, it only has two items in it's menu: "Help" and "Quit". What could that be?

Report

C

dkukawka

13 years ago

In this case I think powersaved or DBUS is not running - start/restart both daemons and it should work (maybe check also if HAL is running).

Report

blaster999

13 years ago

I found out that powersaved quits just after being started. It creates /var/run/powersaved.pid, but there's no process with that PID.

I tried to debug, but GDB told "Program exited with code 01.", so it didn't crash.

Report

hulder

13 years ago

Please set the variable DEBUB="" to DEBUG="15" in /etc/powersave/common, restart powersave and tell us what you see in /var/log/messages when powersave shuts down.

BTW: What is the powersave version and distribution you are working with?

Report

blaster999

13 years ago

Well, I realized I didn't have the /etc/powersave dir, so I created it and copied all the files from the source dir. Still, nothing worked. Although I've set the debug level to 15, not a single message appeared in the logs.

I'm using Gentoo, compiled powersave-0.11.5 by hand.

Report

C

dkukawka

13 years ago

It would be usefull if you could write a mail to: 'powersave-devel at forge dot novell dot com' with a short description of your problem on Gentoo.

We could discuss this there in a better/easier way than here and would try to help you. Thanks.

Report

blaster999

13 years ago

The package I downloaded is missing the configure script.

Report

C

dkukawka

13 years ago

No, there is everything you need to compile the package. Please take a look at the README, you will find there all needed information.

Report

blaster999

13 years ago

Oh, thanks for pointing that out. It worked.

Report

gladiac

13 years ago

Hi,

I'm still waiting for global shortcuts support. It isn't easy to control kpowersave with a touchpad in a car ;)

Report

blaster999

13 years ago

Use KHotKeys Luke :)

Report

sanderant

13 years ago

I try to install it with YaST and I get conflicts regarding libpowersave_dbus.so.10 not being available along with 2 other .so files.
Do I have to be running a special kernel or anything?

Report

C

dkukawka

13 years ago

If you use SUSE 10.0 you also need to update your powersave with the new package from http://sourceforge.net/projects/powersave/ The powersave package was split off to powersave, powersave-libs and powersave-devel packages. So you need to install also the powersave-libs package.

Report

goldenboy

13 years ago

Hi,
this is a great app especially since I'm right now struggling with KLaptop, which always shutsdown my laptop even though i'm not running that low on battery.

Do you plan to make it a replacement for the standard Kcontrol module for energy management? This would be really really great. Or don't you plan to make it Kcontrol module at all?

cheers

Report

13 years ago

For more information about current development see:

http://dkukawka.blogspot.com/.

-----------------------------------

For current changelog and news see:
https://sourceforge.net/project/shownotes.php?release_id=542867&group_id=124576

---------------------------------------
29. Oct. 2007
---------------------------------------
KPowersave 0.7.3:

Major changes since the last version/release:
- added new dialog to show logfiles if a suspend/resume fail and allow the user to save the log (need to get enabled per distro)
- added support to handle brightness key events if the machine not already handle this in the hardware directly
- added new feature named autodimm to reduce the brightness of the display if the user is inactive 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
- added code to work with new PolicyKit/ConsoleKit/HAL combi to check if the user is privileged (for HAL >= 0.5.10 and related PolicyKit versions)
- added code to check if the current desktop session is avtive and handle if the session get inactive (via ConsoleKit)
- added code to release/aquire org.freedesktop.Policy.Power if the session get inactive/active to allow powersaved or other active KPowersave instances to handle powermanagement
- prepared KPowersave to work also with HAL >= 0.5.10 (handle renamed policy names in HAL)
- use now kdebug functions instead of own macros, added --dbg-trace option to allow trace function entry and leave points.

Minor changes:
- added wodim to autosuspend blacklist
- changed logic for resume if a timeout happen
- change default timeout to fake keyevent for locked screen to 2.5 sec
- don't fake key event after locked screen and lidopen if config variable timeToFakeKeyAfterLock = 0
- added new config variable (callSetPowerSaveOnAC in [general] section) to disable call SetPowerSave() on HAL.
- fix code to guess if a 6-hour-timeout occours while suspend/resume or if there was really a error
- removed Portuguese version of the help, since only one paragraph was translated
- fixed configure script to detect if we should use HAL to get information about policies instead of PolicyKit
- force update detailed dialog on AC events to get always e.g. the correct scheme info in the dialog
- reworked code for mouse wheel events to reuse code for brightness keys
- several HAL/D-Bus/PolicyKit/ConsoleKit related fixes/updates
- cleanup code, fixed compiler warnings, added new functions to removed doubled code

This release contains many bugfixes and translation updates. For more follow the Changelog.

---------------------------------------
[18. Feb 2007, 0.7.2][21 Nov 06, 0.7.1][02 July 06, 0.6.2]
[14 May 06, 0.6.1][11 Apr 06, 0.6.0]

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
v0.7.3-unstable
updated Oct 29 2007
added Sep 19 2005
downloads 24h
0
page views 24h 4
System Tags app software