Huawei P8 Lite

huawei mobile p8 lite not charging.i also update it and change the usb conector but nothing happened and also factory rest but problem is same. Phone working fine but when i try to charge the batery donĀ“t detected the charger.please help me for identity the problem and solution. Sorry for my english