This rule only applies to loose (spare) Li-ion batteries, not batteries which are installed in a device.
Batteries over 160 Wh (in some cases, 100 Wh) are banned whether they’re in a device or not, but that’s far bigger than any phone battery: an iPhone 16 Pro Max battery is about 16 Wh, and typical laptop batteries are around 60 Wh.
IATA Li-ion battery fact sheet: https://www.iata.org/en/iata-repository/pressroom/fact-sheet...