Arduino only works when connected to USB

Use a meter and measure it, assumptions can be flawed.