A graphic battery status monitor adapted for xmobar