import qi import sys if __name__ == "__main__": print("Note that could specify the ip-address with the argument '--qi-url=tcp://146.50.60.??'") application = qi.Application(sys.argv) application.start() life = application.session.service("ALAutonomousLife") value = life.setAutonomousAbilityEnabled("All", False) value = life.setAutonomousAbilityEnabled("BackgroundMovement", True) application.session.close()