When you connect your iPhone to a new and unrecognized device, it actually asks to whether trust or not trust that device.
If your device is locked, you need to authenticate to trust to said device.
If your device is locked, you need to authenticate to trust to said device.
Power starvation / observation attacks are passive attacks in a sense. They get their results by observing only.
..but...the article
In these types of attacks, you don't transfer any actual information, but guess something from observation.
There are more exotic attacks [0][1] which exploit the heat computers generate to exfiltrate data or time power starvation attacks.
[0]: https://dl.acm.org/doi/pdf/10.1145/3133956.3133994 [1]: https://www.wired.com/2015/03/stealing-data-computers-using-...