The output power is 12V*0,3A=3,6W
If the boost driver has an efficiency of 70% when converting from 3 .. 3,7V to 12V, than the input power will be 3,6W/0,7=5,1W
Modern 18650 cells deliver about 10Wh and the rough run time will be about 2h
When the battery is nearly fully charged the voltage may...