KThinkBat Installation¶
Installing from Source¶
KThinkBat uses the [Wikipedia:autotools]. For a standard installation use
./configure make su -c 'make install'
KThinkPad need read access to /proc/acpi/battery/* to determine the information about your laptop batteries.
If you have an IBM/Lenovo ThinkPad, as an alternative to using ACPI, you can also use the battery information from the SMAPI BIOS. To do so, you have to install the tp_smapi driver (See in the ThinkWiki). KThinkBat will detect and use a present tp_smapi interface at runtime. If using the SMAPI BIOS information, the ACPI information will be ignored.
Installing under Gentoo¶
If you use Gentoo Linux, you can use my [/svn/gentoo/lefous_portage_overlay/app-laptop/kthinkbat/ ebuild] (from my [/projects/gentoo/wiki/LefousPortageOverlay Portage Overlay]). Install KThinkBat with the following command:
emerge --ask --verbose app-laptop/kthinkbat
If you want to use the SMAPI BIOS information, enable the tpsmapi use flag.
The ebuild with version number 9999 is a subverion live ebuild which will always install the latest development version of KThinkBat.
Installing on other Distributions¶
Some Distribution provide packages for KThinkBat out of the box. For some Linux distributions exist binary packages provided by volunteers. Please see at KThinkBatDownload for packages for your distribution.