fixed app crash when the battery extra info view is enabled on the phone layout in portrait mode.