Please tell us some basic information before asking for help:
Model Name: Asus 5z
Firmware Version: WW_100.10.107.87_20200520
Rooted or not:not
Frequency of Occurrence: Persistent
APP Name & APP Version (If your issue relates to the app):
In addition to information above, please also provide as much details as you can, e.g., using scenario, what troubleshooting you've already done, screenshot, etc.
========================================
My asus 5z is not charging. Some times when I cover proximity sensor it charges and stops after few minutes. Not sure why this is happening but it is not charging even when my phone is off. The proximity sensor trick doesn't work everytime. I restarted my phone several times but the problem persists. Please give a solution for this as I won't be able to use my phone with this condition.