Calculates active percent in onHandleIntent