Binary package “devicetype-detect” in ubuntu xenial
attempt to detect the type of the current device
devicetype-detect attempts to determine device class of the running
system based on the display size, display resolution, and presence or
absence of a battery.
.
devicename-detect attempts to determine the name of the device, to the
best knowledge of the device itself, for use as a sensible default model
name.