Thanks Les. That's an interesting thought. So I'll temporarily reassemble it & see if itI have not yet worked out exactly how it works but it MAY need to see at least 5 volts from the battery to be charged before starting to work.
Les.
You're right about pins 5 & 6. 6 is in fact open, i.e. not connected to anything. 5 is connected to 0V, I have attached a revised circuit.After a bit more research, I suspect the MCU is probably an ST6200 series one - 16 pin types with power on pin 1 are very scarce; that fits plus the RC osc is pin 3 and pins 7/8/9/10 have analog input capability, which also matches your sketch.
(Though I think the connections around pins 5 & 6 may be messed up?)
Data: