
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
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
13 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.
13 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
13 years ago
http://kde-apps.org/content/show.php/KThinkBat+Debian+Lenny?content=65334
Report
linux3114a
13 years ago
at
http://home.scarlet.be/raoul.linux/rpm/kthinkbat.html
Report
kyral
13 years ago
Report
linux3114a
13 years ago
at
http://home.scarlet.be/raoul.linux/lotus.html
Raoul
Report
janoc
13 years ago
Report
linux3114a
13 years ago
at
http://home.scarlet.be/raoul.linux/lotus.html
Report
linux3114a
13 years ago
at
http://home.scarlet.be/raoul.linux/lotus.html
Report
linux3114a
14 years ago
at
http://home.scarlet.be/raoul.linux/
under DOWNLOAD section ( My SuSE RPM's )
Report
bitcrazy
14 years ago
seems that you forgot to increase the version info to 0.2.3. "About" still shows 0.2.2.
Greetings
m0nk
Report
lefou
14 years ago
The source package contains the right version number.
Report
linux3114a
14 years ago
at
http://home.tiscali.be/raoul.linux/
under DOWNLOAD section ( My Suse RPM's )
Report
niti
14 years ago
Report
lefou
13 years ago
Report
Lenz
14 years ago
Regards,
Lenz.
Report
lefou
14 years ago
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
ajbarr
14 years ago
Report
linux3114a
14 years ago
at
http://home.scarlet.be/raoul.linux/
under DOWNLOAD section ( My SuSE RPMS's )
Report
janoc
14 years ago
I have made a Mandriva 2007 package.
It is available here:
http://www.aaue.dk/~janoc/personal/linux/index.html
Report
linux3114a
14 years ago
at
http://home.scarlet.be/raoul.linux/
under DOWNLOAD section ( My Suse RPM's )
Report
linux3114a
14 years ago
at
http://home.scarlet.be/raoul.linux/
under download section
Report
oshogg
14 years ago
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
lefou
14 years ago
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
lefou
14 years ago
I will check this, but give me three days, as I have examinations on Thursday.
Report
pregopresto
15 years ago
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
lefou
15 years ago
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