Fixed crash when battery information file is not found

Jira issue: WP-766
Merge pull request #7 from smonteleone/WP-766

Fixed crash when battery information file is not found