Datasheet says about 10uA in deep sleep. I measure EIGHT MILLIAMPS. Battery lasted 9 days instead of the year I was bragging about!!
esp_sleep_enable_timer_wakeup(600ULL * 1000000ULL); esp_deep_sleep_start();
It definitely sleeps, the wifi stops and current drops from 80mA. Board is one of those cheap devkits from the usual place. Am I missing some magic setting