Development docs. Unreleased and may change.Switch to Release v9.6.0

Inactivity Measurement

A user's inactivity time is measured and stored with each lv_display_t object. Every use of an Input Device counts as activity.

Edit on GitHub

A user's inactivity time is measured and stored with each lv_display_t object. Every use of an Input Device counts as activity. To get time elapsed since the last activity, use lv_display_get_inactive_time(display1). If NULL is passed, the lowest inactivity time among all displays will be returned.

You can manually trigger an activity using lv_display_trigger_activity(display1).

Further Reading

Last updated on