Default Htc one charge problem

Hi guys I flashed insertcoin 8.1 on my phone yesterday.but it doesn't charge.just on the bootloader screen it will be charging.what can I do to fix this thanks ??