x11/tint - battery status?

I have installed x11/tint via ports (tint2-0.7.1), added battery = 1 to ~/.config/tint2/tint2rc.

Upon running /usr/local/bin/tint2 I receive the error:

Code:
tint2 is build without battery support

Looking in tint's Makefile, I noticed

Code:
CONFIGURE_ARGS=	--disable-battery

Not having tinkered with Makefiles, I simply commented out the line, deinstalled and reinstalled.

Now I don't get the error, but there's still no battery information in tint. I edited the Makefile again and change the argument to --enable-battery, but nothing improved.

My battery:

Code:
acpiconf -i 0
Design capacity:	38880 mWh
Last full capacity:	32320 mWh
Technology:		secondary (rechargeable)
Design voltage:		10800 mV
Capacity (warn):	1944 mWh
Capacity (low):		388 mWh
Low/warn granularity:	1 mWh
Warn/full granularity:	1 mWh
Model number:		ThinkPad Battery
Serial number:		
Type:			LION
OEM info:		IBM Corporation 
State:			high 
Remaining capacity:	98%
Remaining time:		unknown
Present rate:		0 mW
Voltage:		12313 mV

I have noticed that the package defaults to disabling the battery as well.

Has anyone been able to get their battery status to display in tint?
 
Follow up on this:

I gave up and used a conky script to display my battery status.
 
Back
Top