# Default battery charging

**URL:** <https://mangoh.discourse.group/t/default-battery-charging/1901>\
**Category:** mangOH Red\
**Created:** [September 13, 2018, 5:38am UTC](https://mangoh.discourse.group/t/default-battery-charging/1901 "2018-09-13T05:38:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://mangoh.discourse.group/u/davidc)\
**Post date:** [September 13, 2018, 5:38am UTC](https://mangoh.discourse.group/t/default-battery-charging/1901/1 "2018-09-13T05:38:53Z")

</div>

Hiya,

The mangOH Red Developers guide section 2.8 indicates that SW401:5 is used to enable/disable battery charging on the mangOH red; and the User Guide section 3.5.2 indicates that if the switch is on that the mangOH will recharge the batter and keep it topped up.

Does the 'Red _automatically_ charge the battery, or does the battery charger electronics need to be kicked into life using the appropriate service/API?

ciao, Dave

---

<div class="post-metadata">

**Author:** ![awneil](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/awneil/32/486_2.png) [@awneil](https://mangoh.discourse.group/u/awneil)\
**Post date:** [September 13, 2018, 7:19am UTC](https://mangoh.discourse.group/t/default-battery-charging/1901/2 "2018-09-13T07:19:51Z")

</div>

The BQ24296 datasheet indicates that in _can_ work autonomously - without host interaction - but that still leaves the question of whether Legato does intervene …

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [September 13, 2018, 4:47pm UTC](https://mangoh.discourse.group/t/default-battery-charging/1901/3 "2018-09-13T16:47:28Z")

</div>

Battery charger works when pin 5 is up. Are you having issues?

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://mangoh.discourse.group/u/davidc)\
**Post date:** [September 13, 2018, 10:37pm UTC](https://mangoh.discourse.group/t/default-battery-charging/1901/4 "2018-09-13T22:37:43Z")

</div>

Hi @asyal

Ta. I don’t _think_ so. But other LiIon management IC’s I’ve used in the past needed to be poked to start the charging process and I just want to be sure.

Another question: Will the battery be charged if the WP is in ULPM _and_ external power is supplied to the USB connection?

ciao, Dave

---

<div class="post-metadata">

**Author:** ![asyal](https://sea2.discourse-cdn.com/flex016/user_avatar/mangoh.discourse.group/asyal/32/78_2.png) [@asyal](https://mangoh.discourse.group/u/asyal)\
**Post date:** [September 13, 2018, 11:04pm UTC](https://mangoh.discourse.group/t/default-battery-charging/1901/5 "2018-09-13T23:04:50Z")

</div>

> [@davidc](#):
>
> : Will the battery be charged if the WP is in ULPM _and_ external power is supplied to the USB connection?

Yes, it will continue to be charged. the battery charging is all done in the TI charger.  
The battery charger API that we will built allows you to do monitoring only.

---

<div class="post-metadata">

**Author:** ![davidc](https://avatars.discourse-cdn.com/v4/letter/d/a183cd/32.png) [@davidc](https://mangoh.discourse.group/u/davidc)\
**Post date:** [September 13, 2018, 11:49pm UTC](https://mangoh.discourse.group/t/default-battery-charging/1901/6 "2018-09-13T23:49:05Z")

</div>

Hi @asyal

Thanks.

ciao, Dave
