Product
Huawei P40
Huawei P40
Apple iPhone XR
Apple iPhone XR
Battery
Charging 22.5W wired 15W wired, PD2.0, 50% in 30 minWireless (Qi)
Type Li-Po 3800 mAh Li-Ion 2942 mAh, non-removable (11.16 Wh)
Body
Build Glass front, glass back, aluminum frame Glass front (Corning-made glass), glass back (Corning-made glass), aluminum frame (7000 series)
Dimensions 148.9 x 71.1 x 8.5 mm (5.86 x 2.80 x 0.33 in) 150.9 x 75.7 x 8.3 mm (5.94 x 2.98 x 0.33 in)
SIM Nano-SIM + eSIMNano-SIM + Nano-SIM Nano-SIM + eSIMNano-SIM + Nano-SIM (China)
Weight 175 g (6.17 oz) 194 g (6.84 oz)
  IP53 dust protected and water resistant (vertical water sprays) IP67 dust/water resistant (up to 1m for 30 min)Apple Pay (Visa, MasterCard, AMEX certified)
Comms
Bluetooth 5.1, A2DP, LE 5.0, A2DP, LE
NFC Yes Yes
Positioning GPS (L1+L5), GLONASS (L1), BDS (B1I+B1c+B2a), GALILEO (E1+E5a), QZSS (L1+L5), NavIC GPS, GLONASS, GALILEO, QZSS
Radio No No
USB USB Type-C 3.1, OTG Lightning, USB 2.0
WLAN Wi-Fi 802.11 a/b/g/n/ac/6, dual-band, Wi-Fi Direct Wi-Fi 802.11 a/b/g/n/ac, dual-band, hotspot
Display
Protection - Scratch-resistant glass
Resolution 1080 x 2340 pixels, 19.5:9 ratio (~422 ppi density) 828 x 1792 pixels, 19.5:9 ratio (~326 ppi density)
Size 6.1 inches, 91.3 cm2 (~86.3% screen-to-body ratio) 6.1 inches, 90.3 cm2 (~79.0% screen-to-body ratio)
Type OLED Liquid Retina IPS LCD, 625 nits (HBM)
Features
Sensors Infrared Face ID, fingerprint (under display, optical), accelerometer, gyro, proximity, compass Face ID, accelerometer, gyro, proximity, compass, barometer
Launch
Announced 2020, March 26 2018, September 12. Released 2018, October 26
Status Available. Released 2020, April 07 Discontinued
Main Camera
Features Leica optics, color spectrum sensor, LED flash, panorama, HDR Quad-LED dual-tone flash, HDR (photo/panorama)
Single - 12 MP, f/1.8, 26mm (wide), 1/2.55", 1.4µm, PDAF, OIS
Triple 50 MP, f/1.9, 23mm (wide), 1/1.28", 1.22µm, multi-directional PDAF, OIS 8 MP, f/2.4, 80mm (telephoto), PDAF, OIS, 3x optical zoom 16 MP, f/2.2, 17mm (ultrawide), AF -
Video 4K@30/60fps, 1080p@30/60fps, 720p@960fps; gyro-EIS 4K@24/30/60fps, 1080p@30/60/120/240fps, HDR, stereo sound rec.
Memory
Card slot Nano Memory (uses shared SIM slot) No
Internal 128GB 6GB RAM, 128GB 8GB RAM, 256GB 8GB RAM 64GB 3GB RAM, 128GB 3GB RAM, 256GB 3GB RAM
  UFS 3.0 NVMe
Misc
Colors Silver Frost, Blush Gold, Deep Sea Blue, Ice White, Black Black, Red, Yellow, Blue, Coral, White
Models ANA-AN00, ANA-TN00, ANA-NX9, ANA-LX4 A2105, A1984, A2107, A2108, A2106, iPhone11,8
SAR - 1.13 W/kg (head)     1.16 W/kg (body)    
SAR EU - 0.99 W/kg (head)     0.99 W/kg (body)    
Network
2G bands GSM 850 / 900 / 1800 / 1900 GSM 850 / 900 / 1800 / 1900
3G bands HSDPA 800 / 850 / 900 / 1700(AWS) / 1900 / 2100 HSDPA 850 / 900 / 1700(AWS) / 1900 / 2100
4G bands 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 17, 18, 19, 20, 26, 28, 32, 34, 38, 39, 40, 41 1, 2, 3, 4, 5, 7, 8, 12, 13, 14, 17, 18, 19, 20, 25, 26, 29, 30, 32, 34, 38, 39, 40, 41, 66, 71
5G bands 1, 3, 28, 38, 41, 77, 78, 79 SA/NSA -
Speed HSPA, LTE, 5G HSPA, LTE, EV-DO Rev.A 3.1 Mbps
Technology GSM / HSPA / LTE / 5G GSM / CDMA / HSPA / EVDO / LTE
  - CDMA2000 1xEV-DO
Our Tests
Battery (old) Endurance rating 89h -
Camera Photo / Video -
Display 589 nits max brightness (measured) -
Loudspeaker -28.9 LUFS (Average) -
Performance AnTuTu: 486583 (v8) GeekBench: 12619 (v4.4), 3148 (v5.1) GFXBench: 37fps (ES 3.1 onscreen) -
Platform
Chipset Kirin 990 5G (7 nm+) Apple A12 Bionic (7 nm)
CPU Octa-core (2x2.86 GHz Cortex-A76 & 2x2.36 GHz Cortex-A76 & 4x1.95 GHz Cortex-A55) Hexa-core (2x2.5 GHz Vortex + 4x1.6 GHz Tempest)
GPU Mali-G76 MP16 Apple GPU (4-core graphics)
OS Android 10, EMUI 12, no Google Play Services iOS 12, upgradable to iOS 18.5
Selfie camera
Features HDR HDR
Single 32 MP, f/2.0, 26mm (wide), 1/2.8", 0.8µm IR TOF 3D, (biometrics sensor only) 7 MP, f/2.2, 32mm (standard)SL 3D, (depth/biometrics sensor)
Video 4K@30/60fps, 1080p@30/60fps 1080p@60fps
Sound
3.5mm jack No No
Loudspeaker Yes Yes, with stereo speakers
Tests
Battery (old) - Endurance rating 78h
Performance - AnTuTu: 341196 (v7), 422465 (v8)GeekBench: 11437 (v4.4), 2690 (v5.1)GFXBench: 58fps (ES 3.1 onscreen)