Is this the only way to read battery level?
I am facing the same issue. It seems it is not connected. Or I get a constant voltage of 0.28400 volt. Which is way to low and doesn't reflect a battery that is charging (i.e. the voltage is not increasing over hours).
So is A0 connected to the divider? Or is it simply not working?