01-30-2022, 11:16 AM
(01-29-2022, 08:30 PM)VaZso Wrote: Do you also see the charge level of keyboard's battery?
As of phone not charging, it seems it is only charging at a rate of 0.5A which is almost enough to supply the phone (or less).
(Handling it as a standard USB port and its maximal allowed current rate.)
However, if you write 1500000 to /sys/class/power_supply/axp20x-usb/input_current_limit then current limit will go up to 1.5A which should be enough for charging the phone.
There is no separate battery icon for the keyboard battery. The only thing that indicates if the keyboard battery is working is that the battery level icon shows the charging symbol.
Raising the charging limit to 1.5A will not cause problems for the phone or keyboard?
My tests today show that the keyboard battery will charge with the phone on if the phone is configured to suspend both when running of the battery and when a charger is connected. So the batteries charge when the phone is suspended but not while the phone is in use. I think that I will try changing the battery charging current as per your post to see if the battery charges when the phone is in active use.