1
0
Fork 0
jebbatime/wasp
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
..
apps Added weather application. 2021-06-03 21:43:38 +01:00
boards draw565: Fix bounding box calculations 2021-06-04 10:46:25 +01:00
drivers manager/rtc: Experimental power saving technique 2021-06-04 10:49:33 +01:00
fonts fonts: add 18pt font 2021-03-28 08:59:25 +01:00
modules bma42x-upy: Implement step counter reset 2020-12-30 09:56:22 +00:00
boot.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
draw565.py draw565: Fix bounding box calculations 2021-06-04 10:46:25 +01:00
gadgetbridge.py Added weather application. 2021-06-03 21:43:38 +01:00
icons.py apps: Add DualClock app. 2021-03-27 09:41:54 +00:00
logo.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
main.py Introduction basic notification support 2020-07-19 20:50:33 +01:00
ppg.py apps: heart: Implement a debug mode to copy out raw data 2021-05-05 21:06:39 +01:00
requirements.txt Update requirements.txt 2021-03-09 21:15:02 +00:00
shell.py Add licensing information for all wasp-os files. 2020-03-22 15:40:18 +00:00
steplogger.py apps: steps: Add a history graph 2021-02-25 08:00:03 +00:00
wasp.py manager/rtc: Experimental power saving technique 2021-06-04 10:49:33 +01:00
widgets.py widgets: Add a button with a graphical icon 2021-01-18 21:52:55 +00:00