Nice work lexel!
1. If I put the board on my PSU and it is on I can connect it it is lightning up, reducing the voltage makes it go red and then turn off
But when I increase the voltage it does not turn on anymore or go from red to the other color.
I had the same problem & it turned out to be because of the high bleeder value I was using.
2. finally found it running the comparator on 2.8V LDO with a higher voltage from your voltage dividers at levels above the 2.8V did not work
running the Maxim 9022 with 2.8V reference from LDO and Vcc on battery supply works now
seems it can not compare higher voltages than its Vcc or close to it
The 9052 has a set Vref of 2.5V also a VCC of less than 2.5v will put the compactor to sleep, the 9039/9039 is set to 1.23V and the 9040/9043 is set to 2.048, which one are you using?
3. Vbatt x R4 / R3 + R4 =Vref
When battery level drops below 3.30V, Light up Red.
3.255V x 360K/270K+360K = 1.86V
I’m surprised you having it trigger at 1.86V, this is where I lost you.
on 1S is max 4.35V, the calculated reference voltage should stay below 2.5V for 2.8V LDO
4.2V x 360K/270K+360K = 2.485V
Now I’m getting back on track again.
Whatever magic you did, I hope you’ll be releasing them for sale soon!!