Sending an update when phone is unplugged

If I understand correctly, it seems like the iOS app is sending an update (location, battery) on either:

  1. Significant location updates
  2. Battery is full

Is it possible to send an update when the phone is unplugged from the charger? That will allow automations based on that.