updated source of battery charge information to be in sync with what is shown by osx for #43