Returns whether the device cache should be cleared after the device disconnected,
before calling
BluetoothGatt#close(). By default it returns false.
If the returned value is true, the next time the Android device will connect to
this peripheral the services will be discovered again. If false, the services
will be obtained from the cache.
Note, that the
BluetoothGatt#refresh() method is not in the public API and it
is not recommended to use this. However, as Android is caching services of all devices,
even if they are not bonded and have Service Changed characteristic, it may necessary to
clear the cache manually.
On older Android versions clearing device cache helped with connection stability.
It was common to get error 133 on the second and following connections when services were
obtained from the cache. However, full service discovery takes time and consumes peripheral's
battery.