Merge "Add ability to get and set idle state of apps"