Convert the rounded battery level to an integer so that the right icon filename
is found (ie battery.9.png not battery.9.5.png).
Change the magic paths to work on my laptop.
Use the script's location to find the image directory.  Now works when
called from another path.
Merge pull request #1 from jugglerchris/master

Convert the rounded battery level to an integer