Difference between revisions of "KThinkBat"

From ThinkWiki
Jump to: navigation, search
 
(51 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
==Description==
 
==Description==
  
[https://lepetitfou.dyndns.org/wiki/bin/view/Werkstatt/KThinkBat KThinkBat] is a laptop battery monitor for the KDE-Kicker. It is inspired by the Windows Application "Battery Maximizer" which is included with ThinkPads.  
+
[http://lepetitfou.dyndns.org/KThinkBat KThinkBat] is a laptop battery monitor for the KDE-Kicker. It is inspired by the Windows Application "Battery Maximizer" which is included with ThinkPads.  
  
Homepage: https://lepetitfou.dyndns.org/wiki/bin/view/Werkstatt/KThinkBat
+
It can use the SMAPI BIOS (through the [[tp_smapi]] driver) or [[How to make ACPI work|ACPI]] to collect the data. It shows you the current power consumption of the laptop and brings support for a second battery. It is fully customizable including sizes, color, fonts and battery number
  
Author: Tobias Roeser
+
Homepage: http://lepetitfou.dyndns.org/KThinkBat
  
Latest Version: 0.1.4
+
Author: [http://lepetitfou.dyndns.org Tobias Roeser]
 +
 
 +
Latest Version (2007-07-29): 0.2.8
  
 
==Screenshot==
 
==Screenshot==
  
Offline Mode: You see how much power left and how much is consumed at the moment.
+
[[Image:KThinkBat.png]]
  
https://lepetitfou.dyndns.org/download/kthinkbat/screenshot_1.png
+
Offline Mode: you see how much charge is left and the current discharging rate.
  
Online Mode: You see the loading-power. (0W at the moment because ThinkPads load only if you have less the 95%)
+
[[Image:KThinkBat_dual.png]]
  
https://lepetitfou.dyndns.org/download/kthinkbat/screenshot_2.png
+
Online Mode: you see how much charge is left and the current charging rate. This screenshot is taken with the disabled "summarize batteries" option.
  
 
==Installation==
 
==Installation==
Line 23: Line 25:
 
KThinkBat uses the autotools. For a standard installation use  
 
KThinkBat uses the autotools. For a standard installation use  
  
./configure
+
./configure
 +
make
 +
su -c 'make install'
 +
 
 +
Alternatively, to minimize filesystem clutter you can install KThinkBat into {{path|/opt/kthinkbat}} and add just a few symlinks under {{path|/usr}}:
 +
 
 +
mkdir -p /opt/kthinkbat
 +
./configure --prefix=/opt/kthinkbat
 +
make
 +
make install
 +
cd /usr/lib/kde3
 +
ln -vfs ../../../opt/kthinkbat/lib/* ./
 +
cd /usr/share/apps/kicker/applets
 +
ln -vfs ../../../../../opt/kthinkbat/share/apps/kicker/applets/kthinkbat.desktop ./
  
make
+
(The above paths are for {{Fedora}} 4 and 5, and may need to be adjusted for other distributions.)
  
su -c 'make install'
+
If you already have the applet running, run {{cmduser|killall kicker; kicker}} to restart it.
  
 
==Gentoo==
 
==Gentoo==
You can use the the ebuild from this [https://lepetitfou.dyndns.org/svn/portage-overlay-lefou/trunk/ portage overlay].
+
KThinkBat is available through the Gentoo tree as app-laptop/kthinkbat.  Use your favorite package manager to install it.
 +
 
 +
emerge -av kthinkbat
 +
 
 +
If you want to use the info provided by the [[tp_smapi]] module, enable the ''smapi'' USE flag.
 +
 
 +
==openSuSE==
 +
 
 +
KThinkBat is included into the community builds (see KDE/Community/openSUSE_Factory, [[ftp://ftp5.gwdg.de/%2fpub/linux/suse/opensuse/repositories/KDE%3A/Community/openSUSE_Factory/x86_64/ here]] for example), though the version is quite outdated atm - 0.2.2.
 +
You can find newer versions on [http://linux01.gwdg.de/~pbleser/index.php Guru's RPM Site], see [http://linux01.gwdg.de/~pbleser/rpm-navigation.php?cat=System/kthinkbat/ RPMs for KThinkBat] compiled for all SuSE versions back to 9.3.
 +
 
 +
==Debian==
 +
 
 +
deb http://debian.cp69.de/ unstable main non-free contrib
 +
deb-src http://debian.cp69.de/ unstable main non-free contrib
 +
     
 +
deb http://debian.cp69.de/ testing main non-free contrib
 +
deb-src http://debian.cp69.de/ testing main non-free contrib
 +
 
 +
To get the repository key, do a:
 +
 
 +
wget http://debian.cp69.de/repo.asc -O - | sudo apt-key add -
  
 
==Download==
 
==Download==
  
* [http://lepetitfou.dyndns.org/download/kthinkbat/ Download directory]
+
* [http://lepetitfou.dyndns.org/KThinkBat#Download Download from the KThinkBat Site]
* [https://lepetitfou.dyndns.org/svn/portage-overlay-lefou/trunk/app-laptop/kthinkbat/ KThinkPad ebuilds]
+
 
 +
 
 +
 
 +
==See Also==
 +
 
 +
* [[How to use UltraBay batteries]]
  
 
[[Category:Tools]] [[Category:Gentoo]]
 
[[Category:Tools]] [[Category:Gentoo]]

Latest revision as of 01:59, 25 June 2008

Description

KThinkBat is a laptop battery monitor for the KDE-Kicker. It is inspired by the Windows Application "Battery Maximizer" which is included with ThinkPads.

It can use the SMAPI BIOS (through the tp_smapi driver) or ACPI to collect the data. It shows you the current power consumption of the laptop and brings support for a second battery. It is fully customizable including sizes, color, fonts and battery number

Homepage: http://lepetitfou.dyndns.org/KThinkBat

Author: Tobias Roeser

Latest Version (2007-07-29): 0.2.8

Screenshot

KThinkBat.png

Offline Mode: you see how much charge is left and the current discharging rate.

KThinkBat dual.png

Online Mode: you see how much charge is left and the current charging rate. This screenshot is taken with the disabled "summarize batteries" option.

Installation

KThinkBat uses the autotools. For a standard installation use

./configure
make
su -c 'make install'

Alternatively, to minimize filesystem clutter you can install KThinkBat into /opt/kthinkbat and add just a few symlinks under /usr:

mkdir -p /opt/kthinkbat
./configure --prefix=/opt/kthinkbat
make
make install
cd /usr/lib/kde3
ln -vfs ../../../opt/kthinkbat/lib/* ./
cd /usr/share/apps/kicker/applets
ln -vfs ../../../../../opt/kthinkbat/share/apps/kicker/applets/kthinkbat.desktop ./

(The above paths are for Fedora 4 and 5, and may need to be adjusted for other distributions.)

If you already have the applet running, run $ killall kicker; kicker to restart it.

Gentoo

KThinkBat is available through the Gentoo tree as app-laptop/kthinkbat. Use your favorite package manager to install it.

emerge -av kthinkbat

If you want to use the info provided by the tp_smapi module, enable the smapi USE flag.

openSuSE

KThinkBat is included into the community builds (see KDE/Community/openSUSE_Factory, [here] for example), though the version is quite outdated atm - 0.2.2. You can find newer versions on Guru's RPM Site, see RPMs for KThinkBat compiled for all SuSE versions back to 9.3.

Debian

deb http://debian.cp69.de/ unstable main non-free contrib
deb-src http://debian.cp69.de/ unstable main non-free contrib
     
deb http://debian.cp69.de/ testing main non-free contrib
deb-src http://debian.cp69.de/ testing main non-free contrib

To get the repository key, do a:

wget http://debian.cp69.de/repo.asc -O - | sudo apt-key add - 

Download


See Also