I have an old Pixel 1 that I use to take advantage of the Unlimited Original Quality Photo uploads using Google Photos. I use an app called DriveSync to upload photos from my Pixel 6 to Google Drive. The Pixel 1 then uses the same app to download those photos, delete them from Google Drive, and upload them to Google Photos using the “Unlimited Photo Uploads” Feature that is still available for the OG Pixels.
I don’t want to have the Pixel 1 charging all the time so I use a TP-Link Smart Plug and an HA Automation to keep the phone between 30-70% using the sensors from the HA Android App. I have an OTG splitter/adapter so I can charge the phone but also have a USB → Ethernet adapter connected to the phone so I don’t have to worry about WIFI connectivity while sleeping etc. The issue I’m having is that within a couple hours of leaving the Pixel 1 idle, HA stops receiving sensor updates (ie. battery percentage). I have the HA app set to update the battery percentage sensor every 1-minute when charging and every 15-mins when discharging. I can continually ping the phone via the USB NIC and get s response anytime but the HA app itself seems to not be sending updates unless I actually open it. As far as I can tell, it has all of the necessary permissions to run.
Thoughts?