add ~/bin and put battinfo.rb in it