Specially designed for Lithium batteries to discharge at constant current until a cut-off voltage is met. 

Done in hackster.