ben-hawks / BadOS

CircuitPython Mini Operating System for Pimoroni Badger2040 Electronic Badge
GNU General Public License v3.0
1 stars 2 forks source link

Support low power/sleep states for badge to improve battery life #11

Open ben-hawks opened 4 months ago

ben-hawks commented 4 months ago

At the moment, the Pico W or any of the peripherals don't generally go to sleep ever, which makes the badge drain batteries somewhat fast despite using an ePaper display. This is an overarching task to add a general system for deep sleep support to BadOS, likely requiring some sort of state save/load management along with careful (re)design of some aspects of the firmware to accommodate this.

Additionally, this heavily relies upon the RTC, which the implementation is not currently complete/validated yet, as mentioned in #8 . That issue may potentially act as a blocker for some aspects of this task.

Sub-tasks TBD