Maybe you can use sysutils/upower to call for the battery status and display the result. I made a small script for this and call that script for the status line in sysutils/screen. It might work for a status line battery monitor in LXDE as well.
Code:
#!/bin/sh
upower -d | grep percentage | sed -n "1p" | sed -e 's/^.* //'
For other solutions try the Arch Linux forum and wiki. There is a lot of usable code there that works out of the box in FreeBSD.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.