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

12 years ago

Take this post as my answer: http://dkukawka.blogspot.com/2006/11/kpowersave-on-way-to-070.html

Report

Pennguin

12 years ago

It's great app but I would like to have ability to run some bash script before suspending and after (for example to disconnect my IM, kill wifi network etc.). Maybe also when entering/exiting power management mode.

P.S. It is really great app

Report

Ge0rgy

12 years ago

or even better, provide a way to set the command that kpowersave uses for suspending.
i had to create a custom-script that unloads some modules and stops some services and after all that calls "hibernate -Fram.conf" to get suspend to ram working on my machine.
would be nice if future versions of kpowersave would provide the ability to set this script as "susped-to-ram-command"
and similar for Suspend to disk.

This way users would get a nice GUI plus the flexibility that linux is famous for.
I like the ability in kpowersave to define blacklisted Applications which keep the system from suspending.
so i can use K3b without worrying that a idle-suspend breaks the burn.

anyway, nice app...

greetings,
Ge0rgy

Report

arandamandi

12 years ago

Why did not appear?
:(

Report

sanderant

13 years ago

The packages only mention Suse 10 can I use them for 10.1 too?
Thanks for this amazing application. Linux battery life is almost equal Windows battery life on my laptop.

Report

C

dkukawka

13 years ago

No, you can't use this packages on SUSE 10.0.

If you take a look at the description, you can download a package for SUSE 10.1 from the factory repository from the opensuse servers. Btw. we plan a YOU update in the next weeks to update the package.

While the package from factory work on 10.1 we don't plan to provide extra packages. If we have to much changes in factory, we add packages to sf.net and announce this.

Report

arandamandi

13 years ago

Is ready.

Before download,check the md5sum and gpg sign.

New link for 0.6.2 is..

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

Report

arandamandi

13 years ago

Package updated for dbus-0.91

Report

arandamandi

12 years ago

http://www.mytux.org/content/viewslackpackage.php

Updated kpowersave and powersave too

Report

arandamandi

12 years ago

Updated to latest powersave stable(0.14)

Report

reinaldo

13 years ago

kpowersave-0.6.1-i686-1mg.Slackware.tgz is broken in all mirrors. Package is corrupt, gzip can't unzip it... thanks :D

Report

C

dkukawka

13 years ago

Hm, looks as if the file somehow corrupted on the sourceforge server. You are the first reporting this (from at least 90 downloads). Thanks for the info.

Since I scheduled a update for Monday, I don't plan to fix this. You can also use the package from: http://www.mytux.org/content/viewslackpackage.php .

Report

C

dkukawka

13 years ago

Hm, looks as if the file somehow corrupted on the sourceforge server. You are the first reporting this (from at least 90 downloads). Thanks for the info.

Since I scheduled a update for Monday, I don't plan to fix this. You can also use the package from: http://www.mytux.org/content/viewslackpackage.php .

Report

stanlus

13 years ago

At this point my emerge of sys-power/powersave failed:

libtool: link: cannot find the library `/usr/local/lib/libsysfs.la' or unhandled argument `/usr/local/lib/libsysfs.la'

...I would really like to have it :-(

Report

C

dkukawka

13 years ago

The you should also install/build sysfsutils (and maybe also sysfsutils-devel) packages.

Report

stanlus

13 years ago

Currently the package
sys-fs/sysfsutils-1.3.0-r1 is on my system, and a can not find some
sysfsutils-devel

Report

stanlus

13 years ago

The libary it was searching for is under /usr/lib/ not on /usr/local/lib

Report

stanlus

13 years ago

I made a symbolic link in /usr/local/lib for the libsysfs.la and the libsysfs.so in /usr/lib.

Now emerge works.

This is a dirty hack u know. Somebody should fix it for gentoo users, becauseI think its a very helpfull tool.

Report

C

dkukawka

13 years ago

You should report this in the gentoo bugzilla under http://bugs.gentoo.org/show_bug.cgi?id=122278 . I don't maintain the gentoo ebuilds.

Report

kapat

13 years ago

I don't see any 'Settings' option by right-clicking on the kpowersave system-tray-icon. The only option is 'Help' and 'Quit'!!

I am using, Debian/unstable, and did "apt-get install kpowersave"..
-----------------------
The following extra packages will be installed:
dbus hal libcpufreq0 libpowersave10 powersaved
Suggested packages:
hal-device-manager zenity
Recommended packages:
hdparm
---------------------------------------

Report

antidrugue

13 years ago

Just make sure you are part of the group "powerdev" (don't forget to change /etc/gshadow as well as /etc/group).

That way "kpowersave" will be able to connect to "powersaved".

Report

C

dkukawka

13 years ago

Is the powersave daemon running (ps -aux | grep powersaved)? This should only happen if the daemon is not running or if powersave could'n connect to the daemon (maybe problems with wrong group membersgip of the daemon or a wrong DBUS config).

If the daemon is not running start powersaved. If this not fix the problem, write a mail to powersave-usersATforge.novell.com. The debian package mainatainer is also on this list and should be able to help you.

Report

kapat

13 years ago

~$ ps aux |grep powersaved
root 29513 0.0 0.0 4416 1032 ? S Apr25 0:03 /usr/sbin/powersaved -d -f /var/run/acpid.socket
seraph 10345 0.0 0.0 2812 780 pts/1 R+ 01:37 0:00 grep powersaved

so the powersaved daemon is running. now what user/group permissions are you referring to?

Report

cwegrzyn

13 years ago

On Gentoo if you take the ebuilds for powersave and kpowersave, what you find is that you need Lynx to generate documentation.

Report

C

dkukawka

13 years ago

I added a short reference to the powersave homepage and documentation for additional powersave dependencies.

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 5
System Tags app software