Charging from a battery

Have you considered sleeping? Otherwise you're going to need analog circuitry to time 10 seconds.

Can a phone scan the QR on that screen? Can you show which screen you have?