In my cessna 172S, when engine running at any RPM, the current at the main battery is below zero, indicating that the alternator is not charging the battery or the battery discharges, but the standby battery indicates a current above zero and it is charged by the alternator.
How can this happen?