Make charger detect more correct