A driver circuit to provide reliable 140mA to load 4 NiMh cells, with automatic turn off if the battery is full and turn on if the battery needs it again.
The output driver transistor has values that make his behavior nearly realistic.
Sadly every circuit has difficulties simulating it.