Temporary solution for Cinnamon upower bug.
fixed mistake in variable name
Merge pull request #200 from lots0logs/master

temporary solution for cinnamon upower bug that prevents battery from being recognized.