Default [Q] ZTE V967S Charging Issue

Hi , I have a ZTE 967S with a peculiar but interesting problem , its running MIUI V5 the problem simply is the phone will charge when turned off , when turned on it will not charge unless i go into engineer mode and hardware testing and run the usb TEST_SEO_NAK test for say 4 seconds then as if by magic it will charge when on but if i power off iam back to square one . Any ideas will help , its using the Kernal 3.4.5 and i have tried another rom Max Flavour and its the same issue ?

Many thanks