Battery awareness and background activity