writepid command usage to join a cgroup has been deprecated in favor of a more flexible approach using task_profiles. This way cgroup path is not hardcoded and cgroup changes can be easily made. Replace writepid with task_profiles command to migrate between cgroups. Bug: 191283136 Test: build and boot Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I22cbf3383f3686c4964e4b55e53d4cdb8ea5a7da Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com> Signed-off-by: firebird11 <hbgassel@gmail.com>