Google has gone through several version of location sharing over the years, all the way back to Google Latitude. That feature was inside Maps, but then location sharing moved to Google+. It came back to Maps last year, and an interesting new feature has rolled out. Now, sharing your location also shares your battery level.
Google Maps location sharing shows your contact’s battery level