When checking if any batteries are discharging, check for their presence too

When a battery is not present, due to the fact that we always set fACConnected
for it to true to enable boot without batteries, the tracker cannot rely on
the fACConnected flag alone.

Thus, check also that the battery is marked as present.