KThinkBat

From ThinkWiki
Revision as of 01:59, 25 June 2008 by Dirtyepic (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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