Computer systems that are capable to be powered by battery or a direct current (DC) source that is supplied through an alternating current (AC) adapter typically have mechanisms to protect batteries from damage and to allow the system to switch between the two types of power sources.