XIAO BLE Sense in deep sleep mode

BTW, as a first step to low power, I want to use the demo provided by seeedstudio : Power Consumption Verification. I opened deep_sleep.ino in arduino IDE (1.8.18). I can’t compile it:

low_power:81:12: error: 'class Adafruit_SPIFlash' has no member named 'deepPowerDown'
   81 |   if(flash.deepPowerDown() == false){
      |            ^~~~~~~~~~~~~

Any tip?