This is the toughest part about flashlights for me.
But from what I understand, toward the end of the battery’s capacity (lower voltage) the current requested by the driver can no longer be supplied so it instead supplies as much as it can (Direct drive) thus offering less and less light output and extending the runtime. Under load I believe the Nanjg drivers start blinking low voltage warning at ~2.85v.