public static int calculateHeartbeatPeriod(final short periodLog) {
        return (int) Math.pow(2, periodLog - 1);
    }
Calculates the heart beat period interval in seconds

@param periodLog period value
mesh/src/main/java/no/nordicsemi/android/mesh/utils/Heartbeat.java