Merge "Use new power manager API." into jb-mr1-dev