Query the type of the service daemon.
Depending on whether the device is queried in normal mode or restore mode, different types will be returned.