Any tips on how to do this without eventually exploding your battery from having it permanently plugged in and under load?
also mentioned at https://news.ycombinator.com/item?id=27576120#27578301
and related https://news.ycombinator.com/item?id=31325191#31325561 (laptop)
Also, an alternative to termux, https://github.com/CypherpunkArmory/UserLAnd found https://news.ycombinator.com/item?id=30119029
¹ This is probably why you should not cut off the battery plastic sealing like some DIY guides tell you to do, it's probably there for a reason.
Wait, what? What is the purpose of that advice?
Some good phones will even notice that they are plugged in all the time and drop the charge level to 80%, where most batteries are happiest to stay for long periods of time.