Yeah it's solved. It's called android + a normal userspace that can tell apps to suspend and apps are cooperative and do so before getting stopped.
It's not a technical problem, it's a social one (for the apps/programs)