[RFC] Reduce CPU usage when idle

Hi @embeddedt,

Have you implemented the touch interrupt in the littlevgl library ?

I have not added support for touch interrupts, as while this would be useful, it’s not a high priority for my projects at the moment. I also unfortunately have less time now to spend on new LVGL features.

The feature is wonderful.
My project needs it,now I do this by stopping the lvgl task handler task when mcu goes to sleep and change input to interrupt mode,when wakeup,restart the task .
If lvgl api can support this officially that would be great.

1 Like

Has this been implemented yet

See here: Sleep management β€” LVGL documentation

Besides lv_timer_handler returns the the time to the next timer run. So your are safe to sleep then number of milliseconds.