Merge "Allow shell to acquire wakelock." into cw-f-dev