Fixes issue where battery percentage is displayed as greater than 100%

The battery plugin on my laptop (Dell Latitude E6400, Arch Linux) was displaying a full charge as 181% when fully charged. This pull request just caps the max percentage to 100%.