Merge "Fix process state of top app while device is sleeping"