def status(self, additional=[]):
        """ Returns status information for device.

        This returns only a subset of possible properties.
        """
        self.manager.refresh_client()
        fields = ['batteryLevel', 'deviceDisplayName', 'deviceStatus', 'name']
        fields += additional
        properties = {}
        for field in fields:
            properties[field] = self.content.get(field)
        return properties
def status ( self , additional = [ ] ) : self . manager . refresh_client ( ) fields = [ 'batteryLevel' , 'deviceDisplayName' , 'deviceStatus' , 'name' ] fields += additional properties = { } for field in fields : properties [ field ] = self . content . get ( field ) return properties
Returns status information for device.

        This returns only a subset of possible properties.