Skip to content

Power Management

Gal Zaidenstein edited this page Sep 20, 2018 · 2 revisions

Deep sleep

If you would like to enable deep sleep in order to save battery power please note that:

  • Notice that waking from deep sleep on keypress is only possible on keys which connect rtc gpio pins (so make sure to have at least 1 rtc row pin, and 1 rtc col pin for wake up keys of your choice).

  • Notice that on windows re-connection after waking from deep sleep might take a couple of minutes, no problem on Linux and android. (on windows you can re-scan for Bluetooth devices and it should reconnect without waiting).

  • Tested current draw without oled (hopefully will improve in future): 40 mA for BLE (without split functionality). 100 mA with split mode enabled (possible to reduce if I change from ESP-NOW to BLE). <1 mA while in deep sleep. oled adds ~20 mA

Enabling Deep Sleep

In order to enable deep sleep simply uncomment SLEEP_MINS in keyboard_config.h. you can set the number of minutes before going to sleep of your preference.