Send the e-paper display to sleep using lvgl in zephyr

Description

How does e-paper sleep works in LVGL?

What MCU/Processor/Board and compiler are you using?

NRF52840

What LVGL version are you using?

Zephyr LVGL

What do you want to achieve?

Control the Regresh rate

What have you tried so far?

Googling

Code to reproduce

I have found that Arduino LVGL and the version for STM32 found here GitHub - waveshareteam/e-Paper
uses a sleep function to turn off display unit. I understand this is important to not damage the e-paper display.
For instance, for the STM32

image
And for Arduino

image

Now as I am working with Zephyr, I have been looking for similar functions wiythout sucess, is this something I have to implement or it is existing in the library?

I understand that having lv_task_handler in a loop will continously refresh and keep on the display, but maybe as I am new to e-paper and lvgl that is not the case.

I will appreciate someone thowing some light on this for me.

Thanks a lot,