We don't know what tablet you have... But that should not matter. It should charge when turned on.
Are you using the Factory supplied charger and USB cord? Different cords have the pins wired in different orders... If it is not the Factory supplied USB cord, and you don't have one, try another cord...