public void disconnect(BluetoothGatt gatt) {
   if (mBluetoothAdapter == null) {
     Log.w(TAG, "BluetoothAdapter not initialized");
     return;
   }
   LeftDevice.disconnect();
 }
 public void autoSendHeart() {
   LeftDevice.autoSendHeart();
 }
 public void startGatt() {
   LeftDevice.startGatt();
   ;
 }
 public void close() {
   LeftDevice.close();
 }
 public void connect(BluetoothDevice device) {
   LeftDevice.connect(device);
 }
 @Override
 public boolean onUnbind(Intent intent) {
   LeftDevice.close();
   return super.onUnbind(intent);
 }