Maybe I'm barking up the wrong tree, but I thought it was risky to leave a phone plugged in all the time. Does it need to be a modern version of Android OS that has the smart charging that stops at like 85%?
Even if I was replacing smartphone before they died, I would probably sell them anyway. Do people really have various phones in working order waiting in a drawer?
https://github.com/mitmedialab/Junkyard-Jumbotron https://www.youtube.com/watch?v=cAUtSVSTbzU
Then paste the code to "Create > Smart Widget > Edit the Code" in the Widget Details. (this flow should be more intuitive...)
You are able to send JSON data to your widget via an API.
It's all just canvas and old Javascript code!
I have had phones on a charging dock for long periods. No issues.
Unless you have some budget small brand phone that was too cheap to be true, most phones are fine plugged in.
I had a totally outdated and probably insecure Samsung S6 edge 2 years ago that started rebooting randomly. I think that prior to that it was so old I could only install stuff from f-droid and aurora because roots certs installed on that old android version were too old for playstore to work. Too bad as you can't easily find smartphones in similar sizes anymore.
Knocking on wood my pixel 6a still going strong after 2 years.
Did that for 20 € for my Oppo Find X3 Pro at my closest tech store and saved me from buying a brand new phone
I got a Sony Xperia Compact from maybe 2016. I use it as a bicycle navigator / recorder. Recently it stopped reading SIMs, probably rusty contacts, but all I need is wifi to update OSMAnd and send me the tracks I recorded.
I also have a very old tablet, maybe 2014. My SO uses it to view movies with VLC and TV via TVHeadend.
An ignored Galaxy S7 puffed up while sitting on a shelf, unplugged, in a climate-controlled room.
Some other devices have been fine for far longer periods so it's not like I'm thinking it's endemic or anything (my Sony PSP is still working well-enough with its still-flat lipo cell from 2008), but it's certainly a concern.
Still, it served our support team really well during the pandemic. They could test wifi setups at the office with different android versions even when they were in a country that was on lockdown themselves.
OpenSTF was great: https://github.com/openstf
I think it's now been replaced by DeviceFarmer: https://github.com/DeviceFarmer/stf