@Override
    void parseStatusParameters() {
        MeshLogger.verbose(TAG, "Received generic battery status from: " + MeshAddress.formatAddress(mMessage.getSrc(), true));
        mBatteryLevel = mParameters[0] & 0xFF;
        MeshLogger.verbose(TAG, "Battery level: " + mBatteryLevel);
        if (mParameters.length >= GENERIC_BATTERY_STATUS_MANDATORY_LENGTH) {
            mTimeToDischarge = (mParameters[1] & 0xFF) | ((mParameters[2] & 0xFF) << 8) | ((mParameters[3] & 0xFF) << 16);
            mTimeToCharge = (mParameters[4] & 0xFF) | ((mParameters[5] & 0xFF) << 8) | ((mParameters[6] & 0xFF) << 16);
            mFlags = mParameters[7] & 0xFF;
            MeshLogger.verbose(TAG, "Time to discharge: " + mTimeToDischarge);
            MeshLogger.verbose(TAG, "Time to charge: " + mTimeToCharge);
            MeshLogger.verbose(TAG, "Flags: " + mFlags);
        }
    }
Constructs GenericBatteryStatus message
@param message access message
mesh/src/main/java/no/nordicsemi/android/mesh/transport/GenericBatteryStatus.java