1
0
Fork 0
jebbatime/wasp/drivers
Daniel Thompson fb18705b9b manager/rtc: Experimental power saving technique
Currently the time is calculated 8 times per second from (relatively) slow
python code. Optimize the power consumed by reducing the number of times
we check for wall time updates to only once-per-second and use native
code generation to reduce VM overhead when executing this critical code.

At the time of writing the difference is battery life has not yet been
measured (but we know the current master branch is worse than v0.4 and,
in theory at least, this should close the gap).

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
2021-06-04 10:49:33 +01:00
..
flash@79fc418f18 drivers: flash: Automatic wake/sleep to minimise idle current 2020-10-10 11:45:25 +01:00
battery.py drivers: battery: Finalize docstrings 2020-05-14 21:32:01 +01:00
bma421.py drivers: bma421: Switch over to reset_step_counter() 2020-12-31 09:31:47 +00:00
cst816s.py drivers: cst816s: Clear the event buffer during a wake up 2020-09-21 20:12:38 +01:00
hrs3300.py hrs3300: Defer initialization until the HRS is used 2020-11-11 22:07:21 +00:00
nrf_rtc.py manager/rtc: Experimental power saving technique 2021-06-04 10:49:33 +01:00
signal.py drivers: signal: Finalize docstrings 2020-05-14 21:39:14 +01:00
st7789.py st7789: Fix incorrect variable name in ST7789_SPIs. __init__ docstring. 2021-02-20 08:46:59 +00:00
touch.py wasp: Introduce a NEXT event 2020-08-15 17:00:49 +01:00
vibrator.py drivers: vibrator: Finalize docstrings 2020-05-14 21:42:16 +01:00