removed unnecessary work when user has no battery