If you Plug in for Battery Charge, than it make entry in Google Sheet in Google Drive.
This Applet uses the following services:
Device is plugged in
Add row to spreadsheet
How it works