3 ms·
Nice, my thinkpad dock actually support this! No I'll just need to glue together `adb shell dumpsys battery | grep level`, uhubctl and some udev magic to turn o
by olejorgenb 6y ago
Nice, my thinkpad dock actually support this! No I'll just need to glue together `adb shell dumpsys battery | grep level`, uhubctl and some udev magic to turn off phone charging above a certain threshold :)
- folmar 6y agoI have no personal experience, but there are some android apps to do this on the phone end.
- olejorgenb 6y agoLast I checked those require root and couldn't find any obvious non-root apps now either. I stumbled over this HW + app solution though: https://chargie.org/ https://chargie.org/