Even better, USB tethering -- no Wi-Fi needed. At least on Android, it's very easy to enable.
It's also a lifesaver when Wi-Fi drivers are unavailable on Linux, as you can use USB tethering, and use your phone as a USB Wi-Fi dongle.
It's also a lifesaver when Wi-Fi drivers are unavailable on Linux, as you can use USB tethering, and use your phone as a USB Wi-Fi dongle.
These days you can control the charge direction from Android, that may work. On my phone, I can also use Acc (and AccA) to limit charge current/voltage, and possibly stop charging (I have to check whether it cuts the connection). Advanced charging controller requires root, though.