If there is a Holy Quran program in the mobile phone, can you take it to the bathroom etc. or not?
If it is not on the screen, but it is stored in data, and enters the toilet keeping the mobile phone in pocket, then there is nothing wrong as per Shari’a.