# Battery, invalid V

**URL:** https://wled.discourse.group/t/battery-invalid-v/7750
**Category:** Usermods
**Created:** [March 13, 2023, 12:55pm UTC](https://wled.discourse.group/t/battery-invalid-v/7750 "2023-03-13T12:55:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![bazzy](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/bazzy/32/4512_2.png) [@bazzy](https://wled.discourse.group/u/bazzy)
#### Post date: [March 13, 2023, 12:55pm UTC](https://wled.discourse.group/t/battery-invalid-v/7750/1 "2023-03-13T12:55:10Z")

</div>

Where am I doing wrong? lipo on pin 35, lolin32, moonmod 0.14.0-b2 Xl

 ![Screenshot_2023-03-13-13-48-00-12_cbe8c7c25be320d0c6f8847e2dea9fd0](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/e/ec79c50c2b6bd0f0942917d22085b6004ae1f087.jpeg)  
 ![Screenshot_2023-03-13-13-48-49-82_cbe8c7c25be320d0c6f8847e2dea9fd0](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/f/f6df1272e1ebc7061fca4469d8b442fae10c411f.jpeg)  
 ![IMG_20230313_134818](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/6/6b21a69270a55f2f7ee99b24c782127d733bc7f7.jpeg)

---

<div class="post-metadata">

### Author: ![17T3nGlwL](https://avatars.discourse-cdn.com/v4/letter/1/919ad9/32.png) [@17T3nGlwL](https://wled.discourse.group/u/17T3nGlwL)
#### Post date: [May 1, 2023, 8:15pm UTC](https://wled.discourse.group/t/battery-invalid-v/7750/2 "2023-05-01T20:15:07Z")

</div>

Same issue here, with a Lolin Wemos C3 Pico and a 1000mah LIPO.  
Bridged the battery status for GPIO 3.  
Battery level also shows 95%, Invalid V.

Build 2303240, env ESP32-C3 v4.4.2 (0)

usermod options:

```auto
  -D USERMOD_BATTERY
  -D USERMOD_BATTERY_MEASUREMENT_PIN=3
  -D USERMOD_BATTERY_USE_LIPO
  -D USERMOD_BATTERY_TOTAL_CAPACITY=1000
  -D USERMOD_BATTERY_AUTO_OFF_ENABLED=true
  -D USERMOD_BATTERY_AUTO_OFF_THRESHOLD=20

```

---

<div class="post-metadata">

### Author: ![runnerr0](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/runnerr0/32/1828_2.png) [@runnerr0](https://wled.discourse.group/u/runnerr0)
#### Post date: [May 9, 2023, 1:45am UTC](https://wled.discourse.group/t/battery-invalid-v/7750/3 "2023-05-09T01:45:34Z")

</div>

Sim issue with battery usermod here with MM\_XL on an esp32-wroom-32u running v0.14.0-b15.21 “Lupo”

invalid %  
invalid V

I got a 100k resister from the battery + to pin 35 as outlined in the mm guide [Usermod Battery - WLED MoonModules Project](https://mm.kno.wled.ge/usermods/Battery/)

 ![IMG_1707](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/1/1033f1800542e12d367b3467406fb7957834d41a.jpeg)

It’s such a killer feature just wish I could figure it out…

---

<div class="post-metadata">

### Author: ![ALDIY](https://yyz2.discourse-cdn.com/free1/user_avatar/wled.discourse.group/aldiy/32/2716_2.png) [@ALDIY](https://wled.discourse.group/u/ALDIY)
#### Post date: [May 9, 2023, 8:22pm UTC](https://wled.discourse.group/t/battery-invalid-v/7750/4 "2023-05-09T20:22:44Z")

</div>

It does work , try another build not the XL or try other ADC pins

 ![image](https://global.discourse-cdn.com/free1/uploads/wled/original/2X/f/f61eb797a602b967454f7764b6229b4ecb48ff5f.jpeg)  
If you tried other build and pins and it did not work then post a clear pic of your MCU might be we have the same

---

<div class="post-metadata">

### Author: ![Madjet](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@Madjet](https://wled.discourse.group/u/Madjet)
#### Post date: [May 22, 2023, 5:35pm UTC](https://wled.discourse.group/t/battery-invalid-v/7750/5 "2023-05-22T17:35:51Z")

</div>

Also having the same issue on a modified vanilla Hoshi build. Tried GPIO pins 32 & 35: no difference there  
[Forgive my fire hazard special assembly](https://imgur.com/a/ftivK7U)
