'''Well, reset the system management controller (SMC)of your Mac'''
It worked for me.
# Rest the SMC
# Charge your Mac for 8 hours. I think restting the SMC is the best option.
Please check the flowing link to rest your SMC
'''https://support.apple.com/en-us/HT201295'''
According to '''apple''', '''Resetting the system management controller (SMC) can resolve certain issues related to power, battery, and other features.'''
'''The SMC is responsible for managing behaviors related to the following features. If you're experiencing issues with any of these, you might need to reset the SMC.'''
* '''Power, including the power button and power to the USB ports'''
* '''Battery and charging'''
* '''Fans and other thermal-management features'''
* '''Indicators or sensors such as status indicator lights (sleep status, battery charging status, and others), the sudden motion sensor, the ambient light sensor, and keyboard backlighting'''
* '''Behavior when opening and closing the lid of a notebook computer'''
[br]
[br]