Watchy wakes up every 60 seconds to check the accelerometer, real-time clock, and updates the E-Paper display with the latest information. Certain watch faces also turn on WiFi to fetch weather data.
With only time keeping, Watchy should have a battery life of 5-7 days, while with fetching data over WiFi, it should last between 2-3 days. These numbers can be extended through futher optimizations (e.g. sleep during off hours, waking up only on motion/tilt, etc.).
- Put Watchy to deep sleep if it's not doing anything, the ESP32 is powerful and power hungry, leaving it idling will drain the battery and create unwanted heat. This is already done for you in the
init()method, so there is no need to explicitly call it again unless you are doing something outside of the Watchy class.
- Turn off the radio after using WiFi/Bluetooth for communications. This will maximize Watchy's battery life.
- Put the display to sleep after updating:
display.hibernate(). This is already done for you, so there is no need to explicitly call it again unless you are doing something outside of the Watchy class.
- If your watch face does not require a step counter, you can skip initializing and reading from the BMA423 accelerometer.
- If your watch face does not require 60 second updates (e.g. word clock), you can change the RTC alarm trigger to a longer period