charging issue

Charger keeps disconnecting when a battery is low on Nokia 6, this is happening after I updated Nokia on 14th July.