Fixed issue when battery sensors not displayed in prefs window