3 ms·
I've been looking for something like this for a long time. I wonder if it is usable on non-Android Linux kernels for hardware that uses USB charging.
by CameronNemo 6y ago
I've been looking for something like this for a long time. I wonder if it is usable on non-Android Linux kernels for hardware that uses USB charging.
- megous 6y agoOn normal Linux, if your device has a proper PMIC with a driver that allows this, you can just change the max charging voltage to something like 4.1V or less via sysfs (/sys/class/power_supply/*) on each boot. You can do the same for maximum charging current, to avoid so called "fast charging", and charge at 0.2C for example. And that's it.