onPaused method

void onPaused()

Implementation

void onPaused() {
  try {
    _sensors.pause();
  } catch (_) {}
  _pushPause();
}