k_delayed_work_remaining_get() function
Get time remaining before a delayed work gets scheduled. This routine computes the (approximate) time remaining before a delayed work gets executed. If the delayed work is not waiting to be scheduled, it returns zero.
Return value
Remaining time (in milliseconds).