LEAK-5 Indicator LED permanently on a battery rail¶
| Severity | Status | Implementation |
|---|---|---|
| suggestion | planned | mid, depends on NET-5, CFG-2 |
Looks at. Which rails are battery rails.
What it catches. An LED with its resistor between a battery-powered rail and ground, with no switch or GPIO in the path: a power-on indicator that is on whenever the battery is.
Why it matters. An indicator is typically 1-5 mA, three orders of magnitude above a sleep budget. Bench boards need it; battery products lose days or weeks of standby to it. A GPIO-driven LED that blinks briefly gives the same information for a fraction of the charge.
Example. A green LED with 1 kΩ on a Li-ion VBAT (3.7 V, Vf 2.1 V): 1.6 mA, 38 mAh a day, a 1000 mAh cell empty in under four weeks with the device "off".
How to check. LEDs whose anode chain reaches a battery rail (project setting, a battery symbol or connector, or NET-5 naming) and whose cathode chain reaches ground without a switch or IO pin.
Fix. Drive it from a GPIO, put it after the power switch, or use a jumper so only bench units have it.
References. Wikipedia, LED circuit "Series resistor"; catalogue DRV-17.