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:

11 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]

ckang

12 years ago

I used to have s2disk handled by powersaved. That was handy because I could have it unload modules (sound in my case) and reload them. In previous version, kpowersave knew that powersaved was putting the system to sleep and could take some user specific actions, e.g. restart kmix on resume. The new kpowersave does not seem to be able to do that, and if run stand-alone, as user does not have the permission to do what powersaved is doing.
Also, from HAL, it always receives the resume event immediately after the suspend event, long before the system is put to sleep. I'm using 0.7.2 from debian testing.

Report

atomopawn

12 years ago

Is it possible to trigger policy changes based on thermal zone information? It would be nice to switch to a lower CPU frequency as things get hotter, or automatically hibernate when reaching a critical point.

Report

fdservices

12 years ago

./configure completed fine,but unsermake complained:
/usr/bin/ld: cannot find -lXss
from:
-L/usr/lib -avoid-version -avoid-version -no-undefined -o ./src/libkdeinit_kpowersave.la -rpath /usr/lib -Wl,--no-undefined -Wl,--allow-shlib-undefined -lkio -lhal -ldbus-1 -ldbus-qt-1 -lXss

# locate Xss
/usr/lib/libXss.so.1.0.0
/usr/lib/libXss.so.1

Now I'm stuck

Report

C

dkukawka

12 years ago

You have to install libXss which is normaly in the xorg-x11-libs/xorg-x11-devel package (package names may depend on your distribution)

For which dist do you try to build?

Report

barcode4linux

12 years ago

Is there a way to get the Kpowersave Information Dialog to display the battery information in percentage instead of time?

Report

C

dkukawka

12 years ago

It should display the time if HAL provide the information if there are only percentage infos in HAL we can't fix this.

What print this command: 'lshal | grep remaining.time' if your machine is charging or discharging the battery?

Report

daimadoshi85

12 years ago

Sorry, I have the 0.6.2 version and I don't find the button to standby in menu. How can I have it? I have Kubuntu Edgy.

Report

C

dkukawka

12 years ago

This version used powersaved (~v0.12.18) and if there is no Standby in the applet menu your machine don't support Standby. If you have Suspend To RAM there use this instead if it work.

Report

Divilinux

12 years ago

version is 0.5.7.1-0ubuntu17

Report

C

dkukawka

12 years ago

you have to update HAL to >= 0.5.8.1 as described in requirements, as HAL support CPU frequency settings since this version.

Report

Divilinux

12 years ago

this new version installation was good..but is not possible scaling cpu??
i had to reinstall old 0.6.2 from repository..and in that version cpu-scaling works as always
Kubuntu edgy 6.10 kde 3.5.6

Report

C

dkukawka

12 years ago

You need a up-to-date HAL which support CPU freq to set the CPU Frequency. Which version of HAL do you use (you maybe need also the rights to use the related D-Bus/HAL interface)?

Report

jirityr

12 years ago

It's really necessary to have installed hal version 0.5.8.1? In my distribution (Gentoo) is available only hal version 0.5.7.1. It's possible that kpowersave 0.7.2 will works with this older version?

Report

C

dkukawka

12 years ago

No IIRC you need hal >= 0.5.8.1 since e.g. CPU Freq is only supported since this version.

Report

mimosius

12 years ago

Waited a longe time (since update from SUSE 10.1) for the new features like ACPI button events...! Great job! Thank you Danny!

Report

ertugrul

12 years ago

after resume my usb mouse not work

kpowersave version 0.7.1

http://bugs.pardus.org.tr/show_bug.cgi?id=4505

http://sourceforge.net/tracker/index.php?func=detail&aid=1515836&group_id=124576&atid=700009

Report

tripod

12 years ago

hi,
i'm unable to build kpowersave using dbus-1.0.1. any hints?

Report

C

dkukawka

12 years ago

Hm ... we never saw such problems. What are the exact error message? Could you send the error msg togehter with information about your system (e.g which distro) to powersave-users_at_forge_dot_novell _dot_com ?

Report

arandamandi

12 years ago

Upgraded to 0.7.1

http://www.mytux.org/content/viewslackpackage.php?id=57

Report

arandamandi

12 years ago

The old powersave permit to remove some modules before standby
and can stop (and restart) services
is possible with new kpowersave?
Thanks

Report

C

dkukawka

12 years ago

This is the job of the tool behind the HAL suspend methods. At SUSE 10.2 this is e.g. pm-utils (see e.g. http://en.opensuse.org/Pm-utils for more)

Report

arandamandi

12 years ago

Thanks

Report

hgsilva

12 years ago

Hello everyone,

I am Debian user with a new Toshiba Satellite Laptop. I am using Linux 2.6.17-2-686 with KDE 3.5.5

I want to ask you how can we start the kpowersave application at the system startup. I think that you have a really nice job here.

However, for example, if I want to run the application I have to export my display as normal user, run the application as root and in that case kpowersave will work.

Is there any switch or options which allow a more simple way to execute kpowersave as a normal user?

For example, there is an application called netgo (to choose between several network configuration profiles) that ask for the root password at the normal user login and that is it.

I will really appreciate any comments on this. Thank you in advance.

And keep going with this cool application.

Report

C

dkukawka

12 years ago

To autostart KPowersave you only need to copy the desktop file of KPowersave to e.g. (not sure if this is the same at debian) /opt/kde3/share/autostart/, but you should maybe file a bug against the KPowersave package at Debian. They should fix their package to autostart.

The other sounds to me like a problem with D-Bus or HAL config. KPowersave should run as normal user without any problem. If you use the default Debian package: also file a bug or ask at 'powersave-users at forge dot novell dot com'. There should also be some debian guys.

Report

gnemmi

12 years ago

going HAL is a real downer and ( at least to me ) it turns Kpowersave into just "another" solution, stripping it from what made it different ..

powersave was EXACTLY the way to go .. and to tell you the truth, knowing why Kpowersave is going HAL is what makes everything even worse. It makes me feel like mediocrity and disdain won once again.

Good luck Dany

Report

11 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 Base: 4 x 5.0 Ratings
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
v0.7.3-unstable
updated Oct 29 2007
added Sep 19 2005
downloads 24h
0
page views 24h 5
System Tags app software