on - ch ip ▁with ▁ 3   GB ▁of ▁RAM . ▁The ▁device ▁also ▁has ▁ 1 6 ▁or ▁ 3 2 ▁  GB ▁internal ▁storage ▁with ▁micro SD ▁card ▁expansion ▁up ▁to ▁ 2 5 6   GB ▁and ▁includes ▁non - rem ov able ▁ 2 7 0 0 ▁m Ah ▁battery . ▁ ▁The ▁rear - f acing ▁camera ▁of ▁the ▁X per ia ▁X A ▁Ult ra ▁is ▁ 2 1 . 5 ▁meg ap ix els ▁with ▁sensor ▁size ▁of ▁ 1 / 2 . 4 ▁in ch , ▁featuring ▁Sony ▁Ex mor ▁R S ▁IM X 2 5 8 ▁image ▁sensor ▁with ▁quick ▁launch ▁and ▁also ▁features ▁hy brid ▁aut of ocus ▁that ▁util izes ▁phase ▁detection ▁aut of ocus ▁that ▁can ▁focus ▁the ▁object ▁within ▁ 0 . 0 3 ▁seconds . ▁The ▁front - f acing ▁camera ▁is ▁ 1 6 ▁meg ap ix els ▁with ▁sensor ▁size ▁of ▁ 1 / 2 . 6 - inch , ▁featuring ▁Sony ▁Ex mor ▁R S ▁IM X 2 3 4 ▁image ▁sensor ▁and ▁ 8 8 - deg ree ▁depth ▁of ▁field . ▁The ▁front ▁facing ▁camera ▁also ▁features ▁an ▁LED ▁flash ▁and ▁Opt ical ▁Image ▁St abil ization . ▁The ▁rear - f acing ▁camera , ▁however , ▁does ▁not ▁feature ▁optical ▁image ▁stabil ization . ▁ ▁Software ▁The ▁X per ia ▁X A ▁Ult ra ▁is ▁pre installed ▁with ▁Android ▁ 6 . 0 . 1 ▁Marsh m allow ▁with ▁Sony ' s