"My Macbook 2017 12” is not charging: My Macbook 2017 12” mcore is sometime connecting to charger and sometimes is not connecting and the charger is not faulty and now the battery is drained and when I connect the charger is showing this is attached in the picture below"
-------
Thank you for the photo.
Troubleshooting Mac Charge:
Some Links that may Help...
A. Black Mac Screen:
Go Here: If your Mac doesn't Turn On or Start Up - Apple Support
Using External Devices: Try Resetting the SMC and NVRAM, but this time, using an external keyboard. Connect an external monitor and see if you get an output.
B. Mac Power Issues:
Try a New Charger:
If it is currently charging from a charger, then use a new charger:
C. A Few Links to Refer to Power: