Fix usb charge detection