capi-sensor: add implementation of sensor_is_wake_up API