In my prototype I am using a Schottky diode to isolate/protect battery from (inadvertant) VBUS connections. The diode lets battery feed into VSYS with a 0.4V drop.
In 'hardware' powersave (with PIO blocks running in light sleep I got the following power run, with a 3.7V 1300mA.hr battery. MicroPython is built with my 'lightsleep()' patches and with UART REPL (USB disabled).
So 10:49:46.119344 through to 22:37:03.495606 is 12hrs run time!
I had unit come out of 'powersave' so that it could flash a 'low battery' warning on the screen, this increased current draw and promptly discharge what's left of the battery. Improvements made last night will prevent the unit cycling on/off.
I think I will change the thresholds (at VSYS) to 3.2V warn and 2.8V shutdown. Note these are 0.4V below battery voltage.
In my prototype I am using a Schottky diode to isolate/protect battery from (inadvertant) VBUS connections. The diode lets battery feed into VSYS with a 0.4V drop.
In 'hardware' powersave (with PIO blocks running in light sleep I got the following power run, with a 3.7V 1300mA.hr battery. MicroPython is built with my 'lightsleep()' patches and with UART REPL (USB disabled).
So
10:49:46.119344
through to22:37:03.495606
is 12hrs run time!I had unit come out of 'powersave' so that it could flash a 'low battery' warning on the screen, this increased current draw and promptly discharge what's left of the battery. Improvements made last night will prevent the unit cycling on/off.
I think I will change the thresholds (at VSYS) to 3.2V warn and 2.8V shutdown. Note these are 0.4V below battery voltage.