I have be been experimenting with the LM393 to trigger a LED when my charger is connected to a battery pack on my Baofeng radio.
The pack is dual 18650 at 8.4v and a charger module XL4015 which i connect to the pack.
I have battery level indicator built into the pack with press button to show it.
Ive tried one circuit that the led come on at 8,4v exactly, but it never drops out correctly, 8.35 drop out would be ideal, such as when the charger cable is disconnected.
[https://easyeda.com/pattang2018/lm393-charging-indicator](https://easyeda.com/pattang2018/lm393-charging-indicator)
![RD-5R battery pack](//image.easyeda.com/pullimage/JrijWhzFvpWiWc8b0rcUKpOMcIUbaG9dZBU2diYd.jpeg)
Chrome
68.0.3440.106
Windows
10
EasyEDA
5.8.19