KThinkBat

System Software

Source (required if based on other people's work):

0
Score 82%
Description:

KThinkBat is a laptop battery monitor for the KDE -Kicker written by Tobias Roeser. It is inspired by the "Battery Maximizer" included with IBM ThinkPads (now Lenovo).

Although there are allready some battery monitor applications for the K-Desktop Environment , they ar mostly too small to realize the current battery charge at first blush. Additionally, KThinkBat shows you the current power consumption of the laptop and brings support for a second battery.

The Layout of this applet is completelly customizable including number of batteries, colors, sizes, fonts

Packages for other Linux Distributions can be found on KThinkBat's homepage (https://lepetitfou.dyndns.org/kthinkbat).

Please post bug reports and ideas to the issue tracker system at https://lepetitfou.dyndns.org/kthinkbat

Last changelog:

12 years ago

KThinkBat 0.2.9 - 16.12.2007:
- New ACPI battery backend for new sysfs ACPI interface 'power_supply' for Linux Kernels >=2.6.24_rc1
- Refactored battery backend: Each backend has it's own driver
Available battery drivers: ACPI, ACPI_SYSFS (alpha), SMAPI
- make install installs kthinkbat_panelapplet.{la,so} now into $PREFIX/lib/kdeX
- Translation updates: German, Italian, Slovak
- Fixed regression bug: mW to mWh in some places
- Don't show percentage values greater than 100.

blueSceaDa

11 years ago

I posted the package of 0.2.8 for debian lenny:

http://kde-apps.org/content/show.php/KThinkBat+Debian+Lenny?content=65334

Report

linux3114a

11 years ago

kthinkbat-0.2.8-1.lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/rpm/kthinkbat.html

Report

kyral

11 years ago

PKGBUILD is in ArchLinux's AUR

Report

linux3114a

11 years ago

kthinkbat-0.2.7-lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/lotus.html
Raoul

Report

janoc

11 years ago

http://www.aaue.dk/~janoc/#Linux

Report

linux3114a

11 years ago

kthinkbat-0.2.6-lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/lotus.html

Report

linux3114a

11 years ago

kthinkbat-0.2.5-lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/lotus.html

Report

linux3114a

11 years ago

kthinkbat-0.2.4-lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/

under DOWNLOAD section ( My SuSE RPM's )

Report

bitcrazy

11 years ago

Hi,
seems that you forgot to increase the version info to 0.2.3. "About" still shows 0.2.2.

Greetings

m0nk

Report

C

lefou

11 years ago

Did you compiled KThinkBat from source? If yes, please run make clean and rebuild again. If not, please contact the package provider, who made an misstake in his package build process, apparently.

The source package contains the right version number.

Report

linux3114a

11 years ago

kthinkbat-0.2.3-lotus.i586.rpm
at
http://home.tiscali.be/raoul.linux/

under DOWNLOAD section ( My Suse RPM's )

Report

niti

11 years ago

I have Lenovo N100 3000 laptop. Kthinkbat doesnt show the remaining time and the power meter does not show any value. They always shows "0" value on the tray icon. I have using MDV 2007 and kthinkbat 0.2.2

Report

Lenz

11 years ago

I think Lenovo's notebooks aren't supported because they aren't able to handle tp_smapi.

Regards,
Lenz.

Report

C

lefou

11 years ago

You don't need tp_smapi to use KThinkBat. If no SMAPI is found on your laptop, the ACPI values provided via /proc/acpi/battery will be used.

If you have a proper configured ACPI system and KThinkBat doesn't work for you, please post the output of the following command:

cat /proc/acpi/battery/BAT0/*

Report

C

lefou

11 years ago

Please try verion 0.2.6, which deals now with ACPI implementations, that don't report current power consumption values.

Report

ajbarr

11 years ago

I booted up a new kernel without tp_smapi and KThinkBat used ACPI to display battery information. After compiling, installing, and loading tp_smapi, KThinkBat automatically switched over to the more accurate SMAPI BIOS display. Very good!

Report

linux3114a

11 years ago

kthinkbat-0.2.2-lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/

under DOWNLOAD section ( My SuSE RPMS's )



Report

janoc

11 years ago

Hello,

I have made a Mandriva 2007 package.
It is available here:
http://www.aaue.dk/~janoc/personal/linux/index.html

Report

linux3114a

11 years ago

kthinkbat-0.2.1-lotus.i586.rpm
at
http://home.scarlet.be/raoul.linux/

under DOWNLOAD section ( My Suse RPM's )

Report

linux3114a

12 years ago

kthinkbat-0.2.0-lotus.i586.rpm
at

http://home.scarlet.be/raoul.linux/

under download section

Report

oshogg

12 years ago

Hi,

I observed a behavior which seems to be a bug. I have two batteries in my thinkpad. I configured kthinkbat such that it shows individual displays for each battery. That seems to work. However when I connect and disconnect the AC power, only one battery's yellow indicator for AC power connectivity turns off and on. This becomes very confusing. I think both batteries yellow indicators should go off and on to indicate that AC is not connected.

Osho

Report

C

lefou

12 years ago

Thanks for reporting.

I will check this, but give me three days, as I have examinations on Thursday.

Report

C

lefou

12 years ago

Could you please answer the following questions?

1. Which battery AC indicator works wrong (1 or 2) ?

2. do you use ACPI provided or TP_SMAPI provided values ? (If you don't know,
is the dir /sys/devices/platform/smapi/ present (then you are using TP_SMAPI
BIOS) ?

3. Could you please send (private mail) me the output of the following commands ? (Please
create these outputs in the same environment state, when KThinkBat shows you
the wrong values/colors.)

When using ACPI:
# cat /proc/acpi/battery/BAT*/*

When using TP_SMAPI:
# cat /sys/devices/platform/smapi/BAT*/*
# ls /sys/devices/platform/smapi/ac_adapter/
# cat /sys/devices/platform/smapi/ac_adapter/*

Thanks in advance.

PS: Your email address seems to be wrong. :(

Report

pregopresto

12 years ago

i use kde 3.5 and the gentoo-ebuild...

ck-new -fno-common -c -o batinfo.lo batinfo.cpp
kthinkbat.cpp: In constructor `KThinkBat::KThinkBat(const QString&,
KPanelApplet::Type, int, QWidget*, const char*)':
kthinkbat.cpp:62: error: `assert' undeclared (first use this function)
kthinkbat.cpp:62: error: (Each undeclared identifier is reported only once for
each function it appears in.)
kthinkbat.cpp: In member function `void KThinkBat::slotPreferences()':
kthinkbat.cpp:96: error: `assert' undeclared (first use this function)
kthinkbat.cpp: In member function `virtual void
KThinkBat::mousePressEvent(QMouseEvent*)':
kthinkbat.cpp:323: error: `assert' undeclared (first use this function)
kthinkbat.cpp: In member function `virtual int KThinkBat::widthForHeight(int)
const':
kthinkbat.cpp:142: warning: unused parameter `int height'
kthinkbat.cpp: In member function `virtual int KThinkBat::heightForWidth(int)
const':
kthinkbat.cpp:147: warning: unused parameter `int width'
kthinkbat.cpp: In member function `virtual void
KThinkBat::resizeEvent(QResizeEvent*)':
kthinkbat.cpp:152: warning: unused parameter `QResizeEvent*e'
kthinkbat.cpp: In member function `virtual void
KThinkBat::paintEvent(QPaintEvent*)':
kthinkbat.cpp:155: warning: unused parameter `QPaintEvent*event'
make[2]: *** [kthinkbat.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/kthinkbat-0.1.5/work/kthinkbat-0.1.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kthinkbat-0.1.5/work/kthinkbat-0.1.5'
make: *** [all] Error 2

!!! ERROR: kde-misc/kthinkbat-0.1.5 failed.
!!! Function kde_src_compile, Line 217, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

jans-laptop ~ #

Report

C

lefou

12 years ago

This problem is fixed. Please try this ebuild:
https://192.168.1.21/svn/portage-overlay-lefou/trunk/app-laptop/kthinkbat/kthinkbat-0.1.5-r1.ebuild

Don't forget to include this patch to files/ directory.
https://192.168.1.21/svn/portage-overlay-lefou/trunk/app-laptop/kthinkbat/files/kthinkbat-0.1.5-assert-patch

Good luck. ;)

Report

12 years ago

KThinkBat 0.2.9 - 16.12.2007:
- New ACPI battery backend for new sysfs ACPI interface 'power_supply' for Linux Kernels >=2.6.24_rc1
- Refactored battery backend: Each backend has it's own driver
Available battery drivers: ACPI, ACPI_SYSFS (alpha), SMAPI
- make install installs kthinkbat_panelapplet.{la,so} now into $PREFIX/lib/kdeX
- Translation updates: German, Italian, Slovak
- Fixed regression bug: mW to mWh in some places
- Don't show percentage values greater than 100.

product-maker 28 154

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.2.9
updated Dec 16 2007
added Nov 19 2005
downloads today
0
page views today 1
System Tags app software