determineNextMapPollInterval(pollResponse) {
        let repollSeconds = MiioValetudoRobot.MAP_POLLING_INTERVALS.DEFAULT;

        let StatusStateAttribute = this.state.getFirstMatchingAttribute({
            attributeClass: stateAttrs.StatusStateAttribute.name
        });


        let isActive = false;

        if (StatusStateAttribute && StatusStateAttribute.isActiveState) {
            isActive = true;
            this.postActiveStateMapPollCooldownCredits = 3;
        }

        if (!isActive && this.postActiveStateMapPollCooldownCredits > 0) {
            // Pretend that we're still in an active state to ensure that we catch map updates e.g. after docking
            isActive = true;
            this.postActiveStateMapPollCooldownCredits--;
        }


        if (isActive) {
            repollSeconds = MiioValetudoRobot.MAP_POLLING_INTERVALS.ACTIVE;

            if (this.flags.lowmemHost) {
                repollSeconds *= 2;
            }
            if (this.flags.hugeMap) {
                repollSeconds *= 2;
            }
        }

        return repollSeconds;
    }
@protected
@param {any} pollResponse Implementation specific
@return {number} seconds