Both the Sony Xperia X and the Huawei Nexus 6P are great devices and if you were considering buying either one of them here is an overview of their features that will help you decide which one is better for you.
The Sony Xperia X features a premium all metal body with curvy glass edges whereas the Huawei Nexus 6P is only all metal.
The Sony Xperia X sports a 5 inch IPS LCD screen with capacitive touchscreen and 1080×1920 px resolution. The Huawei Nexus 6P is larger than Xperia in this case, at a 5.7 inch AMOLED screen, also with capacitive touchscreen and offers a 1440×2560 px resolution.
Both devices feature oloephobic coating and scratch resistant glass.
OS and Memory
Sony Xperia X runs on Android Marshmallow and sports a Qualcomm Snapdragon 650 processor, plus 3 GB of RAM. It also comes in a 32 GB variant and a 64 GB one and the memory is expandable by 256 GB via a microSD card. The Huawei Nexus 6P on the other hand, also runs on Android Marshmallow but sports a Qualcomm Snapdragon 810 processor, plus 3 GB of RAM. It also comes in a 32 GB variant, a 64 GB one and a 128 one, but the memory cannot be expanded.
The Huawei Nexus 6P features a 12.3 MP rear camera and an 8 MP front camera while Sony Xperia X sports a 23 MP rear camera and a 13 MP front one.
Battery and Price
Both devices feature non-removable batteries, however, while the Sony Xperia X has a 2620 mAh one that can stay charged for two days, the Huawei Nexus 6P has a more powerful 3250 mAh one.
Apart from that, both devices have the same connectivity options like Wifi, Bluetooth or GPS.
Sony Xperia X also comes in graphite black, lime gold, rose gold and while and costs about $698. Huawei Nexus 6P comes in aluminum, frost and graphite versions and costs $888.87.