title: Will Google Firestore always write to the server immediately in a mobile app with frequent writes?
body: <p>Is it possible to limit the speed at which Google Firestore pushes writes made in an app to the online database?</p>
  
  <p>I'm investigating the feasibility of using Firestore to store a data stream from an IoT device via a mobile device/bluetooth. </p>
  
  <p>The main concern is battery cost - receive a new data packet roughly two minutes, I'm concerned about the additional battery drain that an internet round-trip every two minutes, 24hrs a day, will cost.  I also would want to limit updates to wifi connections only.</p>
  
  <p>It's not important for the data to be available online real-time. However it is possible for multiple sources to add to the same datastream in a 2-way sybc, (ie online DB and all devices have the merged data).</p>
  
  <p>I'm currently handling that myself, but when I saw the offline capability of Datastore I hoped I could get all that functionality for free.</p>
  
  <p>I know we can't directly control offline-mode in Firestore, but is there any way to prevent it from always and immediately pushing write changes online?</p>