"Charging connected device via USB" Bug
I am having a Moto G32.
I have been experiencing a strange "bug" since 3 days. A notification persisting "Charging connected device via USB," but nothing is connected. I tried putting it on charge, but it does not charge. However, when I charge it while powered off or during the booting stage, it works fine, and the notification doesn't show until I remove the charger. I don't believe it's a physical problem since I can charge it when it's switched off or in boot mode. Additionally, when I connect it to my PC, sometimes it charges, and after that, if I switch to the TurboPower adapter, it works for a while without showing the notification.
I have tried several solutions:
Cleaning the USB port with pins and toothpicks.
Clearing the Android System cache and rebooting.
Forcing stop and disabling Android Auto.
Draining the battery until it reaches zero, then charging and starting again (as mentioned, it charges when connected while switched off or during booting, but the notification returns when unplugged).
I found some threads while searching, but none of the solutions worked for me:
Reddit discussion on similar issue
https://www.reddit.com/r/Pixel4a5G/comments/13xblhv/charging_connected_device_via_usb_but_nothings/
https://forums.lenovo.com/t5/moto-g-power/Charging-connected-device-via-USB-error/m-p/5063534