You have an ESP8266 board like the Wemos D1, a Li-Ion battery ... diagram shows everything you’d like to know. From there, you have examples on using deep sleep, do pushbutton or sensor-driven ...
Some results have been hidden because they may be inaccessible to you