added the linux implementation to the battery plugin
Merge pull request #2574 from thiagowfx/linux-battery

added the linux implementation to the battery plugin