I am having the same charging issue.
This problem has started since August of this year (LineageOS 18.1), it occurs 3 to 4 times par 2 weeks (I charge pro1 everyday at night).
I can not find out in what condition it occurs.
By the way, I found this on Reddit.
https://www.reddit.com/r/LineageOS/comments/mofjx5/plugged_in_cant_charge_right_now/
It seems that the code has been fixed for Razer Phone.
https://review.lineageos.org/c/LineageOS/android_kernel_razer_msm8998/+/307874
Is this also able to apply to pro1, I wonder (I do not have the knowledge for