While we wait for Motorola's upcoming flagship smartphone, the Edge 30 Ultra, to finally become official, today a couple of accessories for it have been leaked. We're talking about the Motorola Smart Stylus and the Folio Case. It's no coincidence that these were leaked together, since the Folio Case is designed in such a way as to house the stylus on its back, as you can see below. There are apparently going to be software triggers for when the stylus is removed, including detecting when it's been out of the case for a long time and yet hasn't been used - you'll get an alert for...
Source: https://www.gsmarena.com/motorola_edge_30_ultra_will_have_a_smart_stylus_that_you_can_tuck_into_a_folio_case-news-52679.php