I'm trying to figure out how this rather simple discharging circuit works and what the SOT23 component is. What kind of component am I looking for? Some sort of transistor, right? But what kind? It doesn't match the common pinouts of anything I've looked at and I can't wrap my head around the functional principle of this circuit to derive it from that.
Specifically the 5.1 MOhm resistor confuses me because while it was obviously chosen to ensure a negligible standby current, it also drops the divider's output voltage into the mV range.
Functional description: It is designed exclusively for a specific battery type/voltage (4S LiIon/LiPo), which it discharges to approx. 15.5 V before it disconnects the load.
Component description: A voltage divider consisting of a 500 Ohm (R1) and 5.1 MOhm (R2) resistor, connected to pin 2 of an unidentified SOT23 component, a 430 Ohm load resistor connected to pin 1 of said SOT23 component, a fuse¹ and—in parallel with the load resistor—an activity indicator LED (+resistor).
¹based on the silkscreen label on a virtually identical product
Schematic (sans LED and mystery SOT23):
simulate this circuit – Schematic created using CircuitLab