I installed Ubuntu Touch onto my old Nexus 5 (LG).
It runs quite well, but I simply can't power it off.
It hangs on the screen with:
Power off
Restart
Screenshot
Cancel
The first 2 of them wont work at all...
I had to go via bootloader to turn it off