The plugin compiles fine here (berlios trunk). Do you have any LDFLAGS set? There are some plugins having troubles with this. If it still doesn't work, you can also try branches/XERVERIUS. That's a new battery plugin based on HAL I'm working on, but it's not finished yet. Greets, Nick