En man i Halmstad åtalas för djurplågeri efter att ha lämnat sin hund ensam i en bil som stod i solen.