I've had this issue when the charging port had muck in it. It charged but didn't connect to a computer. Had to clean it out with a pin and it started working again.
Also sometimes I find turning USB debugging on and off helps for some reason (you'll need to enable developer options). You may also be able to back up with ADB if it still isn't showing up as a drive.
I've had this issue when the charging port had muck in it. It charged but didn't connect to a computer. Had to clean it out with a pin and it started working again.
Also sometimes I find turning USB debugging on and off helps for some reason (you'll need to enable developer options). You may also be able to back up with ADB if it still isn't showing up as a drive.