Recently, I installed a FreeBSD/amd64 laptop. I found this port uses apm (i386 only) interface to get battery information. The patch below changes it to use sysctl(3). Thus, it is usable on amd64.
http://people.freebsd.org/~rafan/xbattbar.diff It works on my ThinkPad X60 (-CURRENT). If you are running this port, please have a test. Thanks, Rong-En Fan
pgpepRVAHOkbM.pgp
Description: PGP signature