# AGM charging algorithm

**URL:** <https://community.victronenergy.com/t/agm-charging-algorithm/6463>\
**Category:** DIY\
**Tags:** victron\_community, offgrid\
**Created:** [5 October 2024 09:43 UTC](https://community.victronenergy.com/t/agm-charging-algorithm/6463 "2024-10-05T09:43:56Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pwfarnell](https://dub1.discourse-cdn.com/victron/user_avatar/community.victronenergy.com/pwfarnell/32/2341_2.png) [@pwfarnell](https://community.victronenergy.com/u/pwfarnell)\
**Post date:** [7 October 2024 08:54 UTC](https://community.victronenergy.com/t/agm-charging-algorithm/6463/7 "2024-10-07T08:54:42Z")

</div>

Your charging from Solar is working well. The settings in your battery monitor (BMV) are good. The problem you have is that your BMV shunt is not detecting and discharge current. You may have a wiring error. See my FAQ for the common wiring issues and correct wiring.

> [@Shunt / battery monitor not reading the correct SOC/ Amps, missing solar, decreasing daily or other misreading problems](https://community.victronenergy.com/t/shunt-battery-monitor-not-reading-the-correct-soc-amps-missing-solar-decreasing-daily-or-other-misreading-problems/87):
>
> This topic covers the SOC / Amps reported by BMV battery monitors, SmartShunts, Lynx BMSs and Lynx Shunts and will just be called shunt below. It is also assumed that the shunt is monitoring the domestic / house / cabin battery bank and not engine start / bow thruster / winch / caravan mover battery banks. The problems may be one or more of the following The SOC decreases daily despite the solar charger or other charger(s) working. The SOC increasing when discharging and falling when charging…

---

_[View the full topic](https://community.victronenergy.com/t/agm-charging-algorithm/6463)._
