@decryption Even if the CPU is nominally the same, I imagine the power management is quite different. That Mac has a battery about twice as large as the phone, but promises about half the battery life.
Some of that is down to the larger screen on the laptop, but it is also going to be down to the mobile OS being more ruthless in suspending and killing applications.
@decryption I'm mainly going by my experience working on Ubuntu Phone.
Even though there was a lot in common with regular Ubuntu (we'd generally be using the same binaries as regular ARM32 Ubuntu), there was a lot of stuff that had to be stripped out and the application model was completely different.
The simple model for this kind of thing might be to start a container or VM for the desktop session when docked, but you'd probably want better integration than vanilla MacOS: what should happen if you receive a call or text message? You probably want that to be visible within the desktop session. You probably also want to be able to access some of the mobile apps in this mode too: even if there are desktop equivalents, you probably want the data the mobile app has access to.
And what should happen when you unplug from the dock? Is it okay to just kill everything in the container/VM?